Skip to contentSkip to conversation

scsi: qlogicfas408: clean up a couple of indentation issues

PATCH Applied Colin King 2 participants 2 messages Jan 23, 2019 – Mar 19, 2019

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 scsi: qlogicfas408: clean up a couple of indentation issues

From: Colin Ian King <[email protected]>

An if statement is indented correctly and an outb statement has a redundant empty comment and incorrect indentation. Fix these.

---
 drivers/scsi/qlogicfas408.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/qlogicfas408.c +2 -2
index 8b471a925b43..136681ad18a5 100644
@@ -139,7 +139,7 @@ static int ql_pdma(struct qlogicfas408_priv *priv, int phase, char *request, int
 	} else {		/* out */
 #if QL_TURBO_PDMA
 		rtrc(4)
-		    if (reqlen >= 128 && inb(qbase + 8) & 0x10) {	/* empty */
+		if (reqlen >= 128 && inb(qbase + 8) & 0x10) {	/* empty */
 			outsl(qbase + 4, request, 32);
 			reqlen -= 128;
 			request += 128;
@@ -240,7 +240,7 @@ static void ql_icmd(struct scsi_cmnd *cmd)
 	outb(0x40 | qlcfg8 | priv->qinitid, qbase + 8);
 	outb(qlcfg7, qbase + 7);
 	outb(qlcfg6, qbase + 6);
-	 /**/ outb(qlcfg5, qbase + 5);	/* select timer */
+	outb(qlcfg5, qbase + 5);	/* select timer */
 	outb(qlcfg9 & 7, qbase + 9);	/* prescaler */
 /*	outb(0x99, qbase + 5);	*/
 	outb(scmd_id(cmd), qbase + 4);
Signature · 1 line
2.19.1
#1 lore raw

Colin,

Quoted 2 lines

An if statement is indented correctly and an outb statement has a redundant empty comment and incorrect indentation. Fix these.

Applied to 5.2/scsi-queue.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering