Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 098ef1c0 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Linus Torvalds
Browse files

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: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Cc: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d71a6d73
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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