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

Signed-off-by: Sankalp Negi <sankalpnegi2...@gmail.com>
---
 drivers/staging/mt7621-spi/spi-mt7621.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c 
b/drivers/staging/mt7621-spi/spi-mt7621.c
index 472f72479162..cf5b5d7c3cf9 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -165,9 +165,8 @@ static inline int mt7621_spi_wait_till_ready(struct 
spi_device *spi)
                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);
        }
-- 
2.11.0

Reply via email to