]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
nbd: delete superfluous test for __GNUC__
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 29 Apr 2008 08:02:52 +0000 (01:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:24 +0000 (08:06 -0700)
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>
include/linux/nbd.h

index 69075517c511524858bec1740e59288f3203d387..155719dab813e2fac8b52bc5a3ae3afdbcbbc8ce 100644 (file)
@@ -88,11 +88,7 @@ struct nbd_request {
        char handle[8];
        __be64 from;
        __be32 len;
-}
-#ifdef __GNUC__
-       __attribute__ ((packed))
-#endif
-;
+} __attribute__ ((packed));
 
 /*
  * This is the reply packet that nbd-server sends back to the client after