Skip to content

Commit

Permalink
uapi/linux/target_core_user.h: fix headers_install.sh badness
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kyle McMartin authored and Nicholas Bellinger committed Dec 18, 2014
1 parent 6bf6ca7 commit 3875f15
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/uapi/linux/target_core_user.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
#include <linux/types.h>
#include <linux/uio.h>

#ifndef __packed
#define __packed __attribute__((packed))
#endif

#define TCMU_VERSION "1.0"

/*
Expand Down

0 comments on commit 3875f15

Please sign in to comment.