Commit dddfbaf8f86894415abb8256b55da68dab966ebe

Authored by Robert P. J. Day
Committed by Linus Torvalds
1 parent cedb27de04

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>

Showing 1 changed file with 1 additions and 5 deletions Side-by-side Diff

include/linux/sysv_fs.h
1 1 #ifndef _LINUX_SYSV_FS_H
2 2 #define _LINUX_SYSV_FS_H
3 3  
4   -#if defined(__GNUC__)
5   -# define __packed2__ __attribute__((packed, aligned(2)))
6   -#else
7   ->> I want to scream! <<
8   -#endif
  4 +#define __packed2__ __attribute__((packed, aligned(2)))
9 5  
10 6  
11 7 #ifndef __KERNEL__