Fix following checkincludes warning:
drivers/scsi/ufs/ufshcd.c: linux/nls.h is included more than once.
The include is in line 14. Remove the duplicated here.
Signed-off-by: Wan Jiabing <[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 1b87f26b5193..73b3dfffabaa 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -20,7 +20,6 @@
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/module.h>
-#include <linux/nls.h>
#include <linux/regulator/consumer.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_dbg.h>
--
2.35.3
Wan,
> Fix following checkincludes warning:
> drivers/scsi/ufs/ufshcd.c: linux/nls.h is included more than once.
>
> The include is in line 14. Remove the duplicated here.
Applied to 5.19/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
> Fix following checkincludes warning:
> drivers/scsi/ufs/ufshcd.c: linux/nls.h is included more than once.
>
> The include is in line 14. Remove the duplicated here.
>
> Signed-off-by: Wan Jiabing <[email protected]>
Reviewed-by: Avri Altman <[email protected]>
On Tue, 26 Apr 2022 18:45:07 +0800, Wan Jiabing wrote:
> Fix following checkincludes warning:
> drivers/scsi/ufs/ufshcd.c: linux/nls.h is included more than once.
>
> The include is in line 14. Remove the duplicated here.
>
>
Applied to 5.19/scsi-queue, thanks!
[1/1] scsi: ufs: Remove duplicate include in ufshcd
https://git.kernel.org/mkp/scsi/c/8ad8edd2fbae
--
Martin K. Petersen Oracle Linux Engineering