linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Selinux: Remove unused headers list.h in selinux/netlink.c
@ 2010-03-02  7:08 wzt.wzt
  2010-03-02 22:21 ` James Morris
  0 siblings, 1 reply; 2+ messages in thread
From: wzt.wzt @ 2010-03-02  7:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-security-module, jmorris

list.h is unused in netlink.c, so remove it.

Signed-off-by: Zhitong Wang <zhitong.wangzt@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Selinux: Remove unused headers list.h in selinux/netlink.c
  2010-03-02  7:08 [PATCH] Selinux: Remove unused headers list.h in selinux/netlink.c wzt.wzt
@ 2010-03-02 22:21 ` James Morris
  0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2010-03-02 22:21 UTC (permalink / raw)
  To: wzt.wzt; +Cc: linux-kernel, linux-security-module

On Tue, 2 Mar 2010, wzt.wzt@gmail.com wrote:

> list.h is unused in netlink.c, so remove it.
> 
> Signed-off-by: Zhitong Wang <zhitong.wangzt@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
<jmorris@namei.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-02 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-02  7:08 [PATCH] Selinux: Remove unused headers list.h in selinux/netlink.c wzt.wzt
2010-03-02 22:21 ` James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).