lkml.org 
[lkml]   [2022]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 2/7] can: slcan: remove useless header inclusions
    Date
    Include only the necessary headers.

    Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

    ---

    (no changes since v2)

    Changes in v2:
    - Re-add headers that export at least one symbol used by the module.

    drivers/net/can/slcan/slcan-core.c | 3 ---
    1 file changed, 3 deletions(-)

    diff --git a/drivers/net/can/slcan/slcan-core.c b/drivers/net/can/slcan/slcan-core.c
    index 2c9d9fc19ea9..ca383c43167d 100644
    --- a/drivers/net/can/slcan/slcan-core.c
    +++ b/drivers/net/can/slcan/slcan-core.c
    @@ -48,9 +48,6 @@
    #include <linux/netdevice.h>
    #include <linux/skbuff.h>
    #include <linux/rtnetlink.h>
    -#include <linux/if_arp.h>
    -#include <linux/if_ether.h>
    -#include <linux/sched.h>
    #include <linux/delay.h>
    #include <linux/init.h>
    #include <linux/kernel.h>
    --
    2.32.0
    \
     
     \ /
      Last update: 2022-07-28 09:03    [W:6.960 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site