'linux/blkdev.h' and 'uapi/linux/lightnvm.h' included in 'lightnvm.h' is duplicated.It is also included in the 5th and 7th line.
Unified · Split
| @@ -112,10 +112,8 @@ struct nvm_dev_ops { · 111 unmodified lines | ||
| 112 | 112 | |
| 113 | 113 | #ifdef CONFIG_NVM |
| 114 | 114 | |
| 115 | −#include <linux/blkdev.h> | |
| 116 | 115 | #include <linux/file.h> |
| 117 | 116 | #include <linux/dmapool.h> |
| 118 | −#include <uapi/linux/lightnvm.h> | |
| 119 | 117 | |
| 120 | 118 | enum { |
| 121 | 119 | /* HW Responsibilities */ |
| @@ -22,7 +22,6 @@ · 21 unmodified lines | ||
| 22 | 22 | |
| 23 | 23 | #ifdef __KERNEL__ |
| 24 | 24 | #include <linux/const.h> |
| 25 | −#include <linux/ioctl.h> | |
| 26 | 25 | #else /* __KERNEL__ */ |
| 27 | 26 | #include <stdio.h> |
| 28 | 27 | #include <sys/ioctl.h> |