mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
e790d442b0
commit
24f455236d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue