summaryrefslogtreecommitdiff
path: root/drivers/staging/rts5208/rtsx_scsi.c
diff options
context:
space:
mode:
authorHaneen Mohammed <hamohammed.sa@gmail.com>2015-02-18 00:21:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 13:01:14 -0800
commit24f455236db580901c053357c553f3e86b592692 (patch)
tree061367071ce6e3fb044229b280b528086a8a852b /drivers/staging/rts5208/rtsx_scsi.c
parente790d442b05518dab79135203a1a1b580959b1c9 (diff)
Staging: rts5208: Remove braces around single if-statement
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>
Diffstat (limited to 'drivers/staging/rts5208/rtsx_scsi.c')
-rw-r--r--drivers/staging/rts5208/rtsx_scsi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rts5208/rtsx_scsi.c b/drivers/staging/rts5208/rtsx_scsi.c
index 11610826acf1..426458345534 100644
--- a/drivers/staging/rts5208/rtsx_scsi.c
+++ b/drivers/staging/rts5208/rtsx_scsi.c
@@ -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)