Staging: rts5208: Remove braces around single if-statement
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Tue, 17 Feb 2015 21:21:25 +0000 (00:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 21:01:14 +0000 (13:01 -0800)
This patch removes unneeded braces around a single if-statement.
This problem was found using checkpatch.pl.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_scsi.c

index 1161082..4264583 100644 (file)
@@ -519,10 +519,8 @@ static int inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 #else
        if (chip->mspro_formatter_enable)
 #endif
-       {
                if (!card || (card == MS_CARD))
                        pro_formatter_flag = 1;
-       }
 
        if (pro_formatter_flag) {
                if (scsi_bufflen(srb) < 56)