mvsas: fix misleading indentation
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Mon, 30 Nov 2015 14:32:17 +0000 (14:32 +0000)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:04:29 +0000 (14:04 +0200)
commit57f208211a18c6f58ed3f69cd8b7edee77cac9a7
tree7900e317a18dd6caf66745b2abda45aca61baec6
parentab4de16c2dd1ecf1329dd40a9807d43240dbba87
mvsas: fix misleading indentation

commit 7789cd39274c51bf475411fe22a8ee7255082809 upstream.

Fix a smatch warning:
drivers/scsi/mvsas/mv_sas.c:740 mvs_task_prep() warn: curly braces intended?

The code is correct, the indention is misleading. When the device is not
ready we want to return SAS_PHY_DOWN. But current indentation makes it
look like we only do so in the else branch of if (mvi_dev).

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/scsi/mvsas/mv_sas.c