aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-06-28 12:12:24 +0800
committerDavid S. Miller <davem@davemloft.net>2018-06-29 11:06:34 +0900
commitfe589e0454b3a18ab9aaddaa8b4925e629d46792 (patch)
tree2b565ef75967a25d50f1e515a111bde4d92b8ac8 /drivers/net/ethernet/hisilicon
parentnet: hns3: add unlikely for error check (diff)
downloadlinux-dev-fe589e0454b3a18ab9aaddaa8b4925e629d46792.tar.xz
linux-dev-fe589e0454b3a18ab9aaddaa8b4925e629d46792.zip
net: hns3: remove unused head file in hnae3.c
linux/slab.h is not used in hnae3.h, this patch removes it. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hnae3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.c b/drivers/net/ethernet/hisilicon/hns3/hnae3.c
index 9d79dad2c6aa..3e5c83f6d8b1 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hnae3.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.c
@@ -8,7 +8,6 @@
*/
#include <linux/list.h>
-#include <linux/slab.h>
#include <linux/spinlock.h>
#include "hnae3.h"