linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: scsi: Remove duplicate include of blkdev.h
@ 2021-03-22 12:28 Wan Jiabing
  2021-03-23  4:26 ` Can Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-03-22 12:28 UTC (permalink / raw)
  To: Alim Akhtar, Avri Altman, James E.J. Bottomley,
	Martin K. Petersen, Stanley Chu, Can Guo, Bean Huo, Jaegeuk Kim,
	Asutosh Das, linux-scsi, linux-kernel
  Cc: kael_w, Wan Jiabing

linux/blkdev.h has been included at line 18, so remove
the duplicate include at line 27.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 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 c86760788c72..e8aa7de17d0a 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>
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers: scsi: Remove duplicate include of blkdev.h
  2021-03-22 12:28 [PATCH] drivers: scsi: Remove duplicate include of blkdev.h Wan Jiabing
@ 2021-03-23  4:26 ` Can Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Can Guo @ 2021-03-23  4:26 UTC (permalink / raw)
  To: Wan Jiabing
  Cc: Alim Akhtar, Avri Altman, James E.J. Bottomley,
	Martin K. Petersen, Stanley Chu, Bean Huo, Jaegeuk Kim,
	Asutosh Das, linux-scsi, linux-kernel, kael_w

On 2021-03-22 20:28, Wan Jiabing wrote:
> linux/blkdev.h has been included at line 18, so remove
> the duplicate include at line 27.
> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
>  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 c86760788c72..e8aa7de17d0a 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>

Someone has addressed it before you - check 
https://git.kernel.org/mkp/scsi/c/b4388e3db56a

Can Guo.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-23  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 12:28 [PATCH] drivers: scsi: Remove duplicate include of blkdev.h Wan Jiabing
2021-03-23  4:26 ` Can Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).