From 8bd49ef211b61e228f9341e53c381e6c47d47212 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Wed, 9 Aug 2023 19:35:49 +0300 Subject: [PATCH] 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 --- fs/adfs/dir_f.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/adfs/dir_f.h b/fs/adfs/dir_f.h index a5393e6cf9f4..4e6c53d59ebd 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