2020-05-08 11:45:42

by Zou Wei

[permalink] [raw]
Subject: [PATCH -next] scsi: mpt3sas: Remove unused including <linux/version.h>

Fix the following versioncheck warning:

drivers/scsi/mpt3sas/mpt3sas_debugfs.c:16:1: unused including <linux/version.h>

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Samuel Zou <[email protected]>
---
drivers/scsi/mpt3sas/mpt3sas_debugfs.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/mpt3sas/mpt3sas_debugfs.c b/drivers/scsi/mpt3sas/mpt3sas_debugfs.c
index 48095d8..a6ab1db 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_debugfs.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_debugfs.c
@@ -13,7 +13,6 @@
*
**/

-#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/pci.h>
--
2.6.2


2020-05-12 03:30:54

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH -next] scsi: mpt3sas: Remove unused including <linux/version.h>

On Fri, 8 May 2020 19:49:33 +0800, Samuel Zou wrote:

> Fix the following versioncheck warning:
>
> drivers/scsi/mpt3sas/mpt3sas_debugfs.c:16:1: unused including <linux/version.h>

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: mpt3sas: Remove unused including <linux/version.h>
https://git.kernel.org/mkp/scsi/c/b59293b469b9

--
Martin K. Petersen Oracle Linux Engineering