Re: [PATCH] nfc: st-nci: remove unnecessary label

2021-04-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 13 Apr 2021 17:45:30 +0800 you wrote: > From: wengjianfeng > > in st_nci_spi_write function, first assign a value to a variable then > goto exit label. return statement just follow the label and exit label > just

[PATCH] nfc: st-nci: remove unnecessary label

2021-04-13 Thread samirweng1979
From: wengjianfeng in st_nci_spi_write function, first assign a value to a variable then goto exit label. return statement just follow the label and exit label just used once, so we should directly return and remove exit label. Signed-off-by: wengjianfeng --- drivers/nfc/st-nci/spi.c | 7 ++---