diff mbox series

scsi: mpt3sas: clean up some inconsistent indenting

Message ID 20210902224215.57286-1-colin.king@canonical.com (mailing list archive)
State Accepted
Headers show
Series scsi: mpt3sas: clean up some inconsistent indenting | expand

Commit Message

Colin King Sept. 2, 2021, 10:42 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There are a couple of statements where the indentation is not correct,
clean these up. Remove a redundant break statement.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/scsi/mpt3sas/mpt3sas_ctl.c   | 2 +-
 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

Comments

Martin K. Petersen Sept. 14, 2021, 3:43 a.m. UTC | #1
On Thu, 2 Sep 2021 23:42:15 +0100, Colin King wrote:

> From: Colin Ian King <colin.king@canonical.com>
> 
> There are a couple of statements where the indentation is not correct,
> clean these up. Remove a redundant break statement.
> 
> 

Applied to 5.15/scsi-fixes, thanks!

[1/1] scsi: mpt3sas: clean up some inconsistent indenting
      https://git.kernel.org/mkp/scsi/c/04c260bdaeed
diff mbox series

Patch

diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.c b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
index 770b241d7bb2..1b79f01f03a4 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
@@ -2178,7 +2178,7 @@  mpt3sas_send_diag_release(struct MPT3SAS_ADAPTER *ioc, u8 buffer_type,
 		mpt3sas_check_cmd_timeout(ioc,
 		    ioc->ctl_cmds.status, mpi_request,
 		    sizeof(Mpi2DiagReleaseRequest_t)/4, reset_needed);
-		 *issue_reset = reset_needed;
+		*issue_reset = reset_needed;
 		rc = -EFAULT;
 		goto out;
 	}
diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
index 2f82b1e629af..d383d4a03436 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
@@ -10749,8 +10749,7 @@  _mpt3sas_fw_work(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event)
 	case MPI2_EVENT_PCIE_TOPOLOGY_CHANGE_LIST:
 		_scsih_pcie_topology_change_event(ioc, fw_event);
 		ioc->current_event = NULL;
-			return;
-	break;
+		return;
 	}
 out:
 	fw_event_work_put(fw_event);