summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5208/rtsx_scsi.c
diff options
context:
space:
mode:
authorHaneen Mohammed2015-02-17 22:21:25 +0100
committerGreg Kroah-Hartman2015-02-26 22:01:14 +0100
commit24f455236db580901c053357c553f3e86b592692 (patch)
tree061367071ce6e3fb044229b280b528086a8a852b /drivers/staging/rts5208/rtsx_scsi.c
parentStaging: rtl8188eu: Replace if-else block with switch-case (diff)
downloadkernel-qcow2-linux-24f455236db580901c053357c553f3e86b592692.tar.gz
kernel-qcow2-linux-24f455236db580901c053357c553f3e86b592692.tar.xz
kernel-qcow2-linux-24f455236db580901c053357c553f3e86b592692.zip
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)