uapi/linux/target_core_user.h: fix headers_install.sh badness
authorKyle McMartin <kyle@redhat.com>
Thu, 18 Dec 2014 17:57:14 +0000 (12:57 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 18 Dec 2014 19:07:27 +0000 (11:07 -0800)
scripts/headers_install.sh will transform __packed to
__attribute__((packed)), so the #ifndef is not necessary.
(and, in fact, it's problematic, because we'll end up with the header
 containing:
#ifndef __attribute__((packed))
#define __attribu...
and so forth.)

Cc: stable@vger.kernel.org # 3.18
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
include/uapi/linux/target_core_user.h

index 7dcfbe6771b1f4a6683b3d816eb0be5f76aa7837..b483d1909d3e6baee31be68e5e905aca4a15572c 100644 (file)
@@ -6,10 +6,6 @@
 #include <linux/types.h>
 #include <linux/uio.h>
 
-#ifndef __packed
-#define __packed                        __attribute__((packed))
-#endif
-
 #define TCMU_VERSION "1.0"
 
 /*