diff mbox

[2/2] scsi: mpt3sas: remove a stray KERN_INFO

Message ID 20171108083819.u2yufaeamh2vffac@mwanda (mailing list archive)
State Accepted
Headers show

Commit Message

Dan Carpenter Nov. 8, 2017, 8:38 a.m. UTC
pr_info() has a KERN_INFO already so the second KERN_INFO isn't needed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Comments

Martin K. Petersen Nov. 8, 2017, 11:18 p.m. UTC | #1
Dan,

> pr_info() has a KERN_INFO already so the second KERN_INFO isn't needed.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied to 4.15/scsi-queue.
diff mbox

Patch

diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
index 3a9438a1704e..b258f210120a 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
@@ -8683,7 +8684,7 @@  _scsih_mark_responding_pcie_device(struct MPT3SAS_ADAPTER *ioc,
 
 			if (pcie_device->handle == pcie_device_pg0->DevHandle)
 				goto out;
-			pr_info(KERN_INFO "\thandle changed from(0x%04x)!!!\n",
+			pr_info("\thandle changed from(0x%04x)!!!\n",
 			    pcie_device->handle);
 			pcie_device->handle = pcie_device_pg0->DevHandle;
 			if (sas_target_priv_data)