提交 098ef1c0 编写于 作者: R Robert P. J. Day 提交者: Linus Torvalds

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: NRobert P. J. Day <rpjday@crashcourse.ca>
Cc: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 d71a6d73
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册