Skip to content

Commit

Permalink
net: caif: remove unused hardirq.h
Browse files Browse the repository at this point in the history
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by caif at all.

So, remove the unused hardirq.h.

Signed-off-by: Yang Shi <[email protected]>
Cc: Dmitry Tarnyagin <[email protected]>
Cc: "David S. Miller" <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Yang Shi authored and davem330 committed Jan 9, 2018
1 parent f1f2b7c commit 373372b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion net/caif/cfpkt_skbuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <linux/string.h>
#include <linux/skbuff.h>
#include <linux/hardirq.h>
#include <linux/export.h>
#include <net/caif/cfpkt.h>

Expand Down
1 change: 0 additions & 1 deletion net/caif/chnl_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define pr_fmt(fmt) KBUILD_MODNAME ":%s(): " fmt, __func__

#include <linux/fs.h>
#include <linux/hardirq.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/netdevice.h>
Expand Down

0 comments on commit 373372b

Please sign in to comment.