summaryrefslogtreecommitdiffstats
path: root/fs/adfs
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2023-08-09 19:35:49 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-08-21 13:46:23 -0700
commit8bd49ef211b61e228f9341e53c381e6c47d47212 (patch)
treeb1778232f3593c261c6d2fc26ea221c0050f43d9 /fs/adfs
parent852622bf3616034e11e20955aa2d8d40c200138e (diff)
downloadlinux-8bd49ef211b61e228f9341e53c381e6c47d47212.tar.gz
linux-8bd49ef211b61e228f9341e53c381e6c47d47212.tar.bz2
linux-8bd49ef211b61e228f9341e53c381e6c47d47212.zip
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 <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/adfs')
-rw-r--r--fs/adfs/dir_f.h5
1 files changed, 0 insertions, 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