summaryrefslogtreecommitdiff
path: root/drivers/staging/rts5208
diff options
context:
space:
mode:
authorHaneen Mohammed <hamohammed.sa@gmail.com>2015-02-17 21:21:25 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 21:01:14 (GMT)
commit24f455236db580901c053357c553f3e86b592692 (patch)
tree061367071ce6e3fb044229b280b528086a8a852b /drivers/staging/rts5208
parente790d442b05518dab79135203a1a1b580959b1c9 (diff)
downloadlinux-24f455236db580901c053357c553f3e86b592692.tar.xz
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')
-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 1161082..42645834 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)