staging: mt7621-spi: Remove unnecessary braces {} from single statement if block.

The patch fixes following checkpatch.pl issue:
WARNING : braces {} are not necessary for single statement blocks

Signed-off-by: Sankalp Negi <sankalpnegi2310@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sankalp Negi 2018-06-03 00:07:31 +05:30 committed by Greg Kroah-Hartman
parent 6e89217cdb
commit 9c562d8411
1 changed files with 1 additions and 2 deletions

View File

@ -166,9 +166,8 @@ static inline int mt7621_spi_wait_till_ready(struct mt7621_spi *rs)
u32 status;
status = mt7621_spi_read(rs, MT7621_SPI_TRANS);
if ((status & SPITRANS_BUSY) == 0) {
if ((status & SPITRANS_BUSY) == 0)
return 0;
}
cpu_relax();
udelay(1);
}