2021-03-27 02:18:14

by Zhen Lei

[permalink] [raw]
Subject: [PATCH 1/1] scsi: ufs: Remove duplicated header file inclusion

The header file <linux/blkdev.h> is already included above and can be
removed here.

Signed-off-by: Zhen Lei <[email protected]>
---
drivers/scsi/ufs/ufshcd.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index c86760788c72c9a..e8aa7de17d0accd 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -24,7 +24,6 @@
#include "ufs_bsg.h"
#include "ufshcd-crypto.h"
#include <asm/unaligned.h>
-#include <linux/blkdev.h>

#define CREATE_TRACE_POINTS
#include <trace/events/ufs.h>
--
1.8.3



2021-03-28 07:31:59

by Avri Altman

[permalink] [raw]
Subject: RE: [PATCH 1/1] scsi: ufs: Remove duplicated header file inclusion

>
> The header file <linux/blkdev.h> is already included above and can be
> removed here.
Already removed, see
https://lore.kernel.org/lkml/[email protected]/

Thanks,
Avri

>
> Signed-off-by: Zhen Lei <[email protected]>
> ---
> drivers/scsi/ufs/ufshcd.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
> index c86760788c72c9a..e8aa7de17d0accd 100644
> --- a/drivers/scsi/ufs/ufshcd.c
> +++ b/drivers/scsi/ufs/ufshcd.c
> @@ -24,7 +24,6 @@
> #include "ufs_bsg.h"
> #include "ufshcd-crypto.h"
> #include <asm/unaligned.h>
> -#include <linux/blkdev.h>
>
> #define CREATE_TRACE_POINTS
> #include <trace/events/ufs.h>
> --
> 1.8.3
>