lkml.org 
[lkml]   [2011]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 03/11] net: inet_timewait_sock doesnt need <linux/module.h>
    Date
    There is nothing module specific in this header, and removing
    it doesn't seem to uncover any implicit dependencies either.
    Must be simply a vestige of an ancient legacy.

    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    ---
    include/net/inet_timewait_sock.h | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/include/net/inet_timewait_sock.h b/include/net/inet_timewait_sock.h
    index f1a7709..e3dfd97 100644
    --- a/include/net/inet_timewait_sock.h
    +++ b/include/net/inet_timewait_sock.h
    @@ -18,7 +18,6 @@

    #include <linux/kmemcheck.h>
    #include <linux/list.h>
    -#include <linux/module.h>
    #include <linux/timer.h>
    #include <linux/types.h>
    #include <linux/workqueue.h>
    --
    1.7.6


    \
     
     \ /
      Last update: 2011-07-28 07:21    [W:2.773 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site