Commit 24f45523 authored by Haneen Mohammed's avatar Haneen Mohammed Committed by Greg Kroah-Hartman

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: default avatarHaneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e790d442
...@@ -519,10 +519,8 @@ static int inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) ...@@ -519,10 +519,8 @@ static int inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip)
#else #else
if (chip->mspro_formatter_enable) if (chip->mspro_formatter_enable)
#endif #endif
{
if (!card || (card == MS_CARD)) if (!card || (card == MS_CARD))
pro_formatter_flag = 1; pro_formatter_flag = 1;
}
if (pro_formatter_flag) { if (pro_formatter_flag) {
if (scsi_bufflen(srb) < 56) if (scsi_bufflen(srb) < 56)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment