nfc: st-nci: remove unnecessary assignment and label
authorwengjianfeng <wengjianfeng@yulong.com>
Mon, 24 May 2021 02:11:23 +0000 (10:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2021 20:12:51 +0000 (13:12 -0700)
commit62f148d8dde6239199af49e52ae43d0820765a65
tree317e220a56ddf4f2735bd748b08ba0d470e12386
parentec7d6dd870d421a853ffa692d4bce5783a519342
nfc: st-nci: remove unnecessary assignment and label

In function st_nci_hci_network_init, the variable r is assigned then
goto exit label, which just return r, so we use return to replace it.
and exit label only used once at here, so we remove exit label.

Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/st-nci/se.c