Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nbd: delete superfluous test for __GNUC__

Since <linux/compiler.h> already tests for __GNUC__, there's no point in nbd.h
repeating that test.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Robert P. J. Day and committed by
Linus Torvalds
098ef1c0 d71a6d73

+1 -5
+1 -5
include/linux/nbd.h
··· 88 88 char handle[8]; 89 89 __be64 from; 90 90 __be32 len; 91 - } 92 - #ifdef __GNUC__ 93 - __attribute__ ((packed)) 94 - #endif 95 - ; 91 + } __attribute__ ((packed)); 96 92 97 93 /* 98 94 * This is the reply packet that nbd-server sends back to the client after