diff mbox

scsi: ipr: fix incorrect indentation of assignment statement

Message ID 20171201133327.15515-1-colin.king@canonical.com (mailing list archive)
State Accepted
Headers show

Commit Message

Colin King Dec. 1, 2017, 1:33 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Remove one extraneous level of indentation on an assignment statement.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/scsi/ipr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Brian King Dec. 1, 2017, 4:30 p.m. UTC | #1
On 12/01/2017 07:33 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Remove one extraneous level of indentation on an assignment statement.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/scsi/ipr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
> index cc0187965eee..e07dd990e585 100644
> --- a/drivers/scsi/ipr.c
> +++ b/drivers/scsi/ipr.c
> @@ -9653,8 +9653,8 @@ static int ipr_alloc_cmd_blks(struct ipr_ioa_cfg *ioa_cfg)
>  			if (i == 0) {
>  				entries_each_hrrq = IPR_NUM_INTERNAL_CMD_BLKS;
>  				ioa_cfg->hrrq[i].min_cmd_id = 0;
> -					ioa_cfg->hrrq[i].max_cmd_id =
> -						(entries_each_hrrq - 1);
> +				ioa_cfg->hrrq[i].max_cmd_id =
> +					(entries_each_hrrq - 1);
>  			} else {
>  				entries_each_hrrq =
>  					IPR_NUM_BASE_CMD_BLKS/
> 

Acked-by: Brian King <brking@linux.vnet.ibm.com>
Martin K. Petersen Dec. 5, 2017, 3:30 a.m. UTC | #2
Colin,

> Remove one extraneous level of indentation on an assignment statement.

Applied to 4.16/scsi-queue, thanks!
diff mbox

Patch

diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index cc0187965eee..e07dd990e585 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -9653,8 +9653,8 @@  static int ipr_alloc_cmd_blks(struct ipr_ioa_cfg *ioa_cfg)
 			if (i == 0) {
 				entries_each_hrrq = IPR_NUM_INTERNAL_CMD_BLKS;
 				ioa_cfg->hrrq[i].min_cmd_id = 0;
-					ioa_cfg->hrrq[i].max_cmd_id =
-						(entries_each_hrrq - 1);
+				ioa_cfg->hrrq[i].max_cmd_id =
+					(entries_each_hrrq - 1);
 			} else {
 				entries_each_hrrq =
 					IPR_NUM_BASE_CMD_BLKS/