瀏覽代碼

sysv fs: remove superfluous check for __GNUC__ compiler

Since <linux/sysv_fs.h> isn't exported to userspace, there is little
point checking that this is a GNU-compatible compiler.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Robert P. J. Day 17 年之前
父節點
當前提交
dddfbaf8f8
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      include/linux/sysv_fs.h

+ 1 - 5
include/linux/sysv_fs.h

@@ -1,11 +1,7 @@
 #ifndef _LINUX_SYSV_FS_H
 #ifndef _LINUX_SYSV_FS_H
 #define _LINUX_SYSV_FS_H
 #define _LINUX_SYSV_FS_H
 
 
-#if defined(__GNUC__)
-# define __packed2__	__attribute__((packed, aligned(2)))
-#else
->> I want to scream! <<
-#endif
+#define __packed2__	__attribute__((packed, aligned(2)))
 
 
 
 
 #ifndef __KERNEL__
 #ifndef __KERNEL__