[PATCH 1/1] loop: Remove already included header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The header files uaccess.h, slab.h, swap.h, spinlock.h have
already been included in other header files. So remove it.

No functional changes.

Signed-off-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxx>
---
 drivers/block/loop.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index c05fe27a96b6..ec232c1d260a 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -14,8 +14,6 @@
 #include <linux/wait.h>
 #include <linux/blkpg.h>
 #include <linux/init.h>
-#include <linux/swap.h>
-#include <linux/slab.h>
 #include <linux/compat.h>
 #include <linux/suspend.h>
 #include <linux/freezer.h>
@@ -32,9 +30,7 @@
 #include <linux/blk-cgroup.h>
 #include <linux/sched/mm.h>
 #include <linux/statfs.h>
-#include <linux/uaccess.h>
 #include <linux/blk-mq.h>
-#include <linux/spinlock.h>
 #include <uapi/linux/loop.h>
 
 /* Possible states of device */
-- 
2.34.1




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux