summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@redhat.com>2014-12-18 12:57:14 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2014-12-18 11:07:27 -0800
commit3875f15207f9ecb3f24a8e91e7ad196899139595 (patch)
treeed269a7e7028badb771359fd0ed22118368e3167
parent6bf6ca7515c1df06f5c03737537f5e0eb191e29e (diff)
downloadop-kernel-dev-3875f15207f9ecb3f24a8e91e7ad196899139595.zip
op-kernel-dev-3875f15207f9ecb3f24a8e91e7ad196899139595.tar.gz
uapi/linux/target_core_user.h: fix headers_install.sh badness
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>
-rw-r--r--include/uapi/linux/target_core_user.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/uapi/linux/target_core_user.h b/include/uapi/linux/target_core_user.h
index 7dcfbe6..b483d19 100644
--- a/include/uapi/linux/target_core_user.h
+++ b/include/uapi/linux/target_core_user.h
@@ -6,10 +6,6 @@
#include <linux/types.h>
#include <linux/uio.h>
-#ifndef __packed
-#define __packed __attribute__((packed))
-#endif
-
#define TCMU_VERSION "1.0"
/*
OpenPOWER on IntegriCloud