OSDN Git Service

scsi: sd: Fix indentation
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 25 Aug 2017 20:46:34 +0000 (13:46 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:08:08 +0000 (17:08 -0400)
This patch avoids that smatch reports the following:

drivers/scsi/sd.c:3540: sd_suspend_common() warn: inconsistent indenting

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.c

index a88639f..8b3d799 100644 (file)
@@ -3537,7 +3537,7 @@ static int sd_suspend_common(struct device *dev, bool ignore_stop_errors)
                         * doesn't support sync. There's not much to do and
                         * suspend shouldn't fail.
                         */
-                        ret = 0;
+                       ret = 0;
                }
        }