Skip to content

Commit 8bd49ef

Browse files
Alexey Dobriyanakpm00
authored andcommitted
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 852622b commit 8bd49ef

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

fs/adfs/dir_f.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,4 @@ struct adfs_newdirtail {
5858
__u8 dircheckbyte;
5959
} __attribute__((packed));
6060

61-
union adfs_dirtail {
62-
struct adfs_olddirtail old;
63-
struct adfs_newdirtail new;
64-
};
65-
6661
#endif

0 commit comments

Comments
 (0)