Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] Selinux: Remove unused headers list.h in selinux/netlink.c

0 views
Skip to first unread message

wzt...@gmail.com

unread,
Mar 2, 2010, 2:10:02 AM3/2/10
to
list.h is unused in netlink.c, so remove it.

Signed-off-by: Zhitong Wang <zhitong...@alibaba-inc.com>

---
security/selinux/netlink.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c
index 1ae5564..7d7be29 100644
--- a/security/selinux/netlink.c
+++ b/security/selinux/netlink.c
@@ -13,7 +13,6 @@
#include <linux/types.h>
#include <linux/stddef.h>
#include <linux/kernel.h>
-#include <linux/list.h>
#include <linux/skbuff.h>
#include <linux/netlink.h>
#include <linux/selinux_netlink.h>
--
1.6.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

James Morris

unread,
Mar 2, 2010, 5:30:02 PM3/2/10
to
On Tue, 2 Mar 2010, wzt...@gmail.com wrote:

> list.h is unused in netlink.c, so remove it.
>
> Signed-off-by: Zhitong Wang <zhitong...@alibaba-inc.com>


Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next-queue

>
> ---
> security/selinux/netlink.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c
> index 1ae5564..7d7be29 100644
> --- a/security/selinux/netlink.c
> +++ b/security/selinux/netlink.c
> @@ -13,7 +13,6 @@
> #include <linux/types.h>
> #include <linux/stddef.h>
> #include <linux/kernel.h>
> -#include <linux/list.h>
> #include <linux/skbuff.h>
> #include <linux/netlink.h>
> #include <linux/selinux_netlink.h>
> --
> 1.6.5.3
>

--
James Morris
<jmo...@namei.org>

0 new messages