Skip to contentSkip to conversation

Drivers: staging: rts5208: xd.c fixed a brace coding style issue

PATCH New Ali Aminian 1 participant 1 message Jul 20, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drivers: staging: rts5208: xd.c fixed a brace coding style issue

Fixing a coding style issue

---
 drivers/staging/rts5208/xd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rts5208/xd.c +1 -2
index 667dfe1..261d868 100644
@@ -787,9 +787,8 @@ static int reset_xd(struct rtsx_chip *chip)
 	}
 
 	dev_dbg(rtsx_dev(chip), "CIS block: 0x%x\n", xd_card->cis_block);
-	if (xd_card->cis_block == 0xFFFF) {
+	if (xd_card->cis_block == 0xFFFF)
 		return STATUS_FAIL;
-	}
 
 	chip->capacity[chip->card2lun[XD_CARD]] = xd_card->capacity;
 
Signature · 1 line
2.7.4