From: Alexey Dobriyan Date: Wed, 9 Aug 2023 16:35:49 +0000 (+0300) Subject: adfs: delete unused "union adfs_dirtail" definition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8bd49ef211b61e228f9341e53c381e6c47d47212;p=linux.git adfs: delete unused "union adfs_dirtail" definition union adfs_dirtail::new stands in the way if Linux++ project: "new" can't be used as member's name because it is a keyword in C++. Link: https://lkml.kernel.org/r/43b0a4c8-a7cf-4ab1-98f7-0f65c096f9e8@p183 Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton --- diff --git a/fs/adfs/dir_f.h b/fs/adfs/dir_f.h index a5393e6cf9f43..4e6c53d59ebda 100644 --- a/fs/adfs/dir_f.h +++ b/fs/adfs/dir_f.h @@ -58,9 +58,4 @@ struct adfs_newdirtail { __u8 dircheckbyte; } __attribute__((packed)); -union adfs_dirtail { - struct adfs_olddirtail old; - struct adfs_newdirtail new; -}; - #endif