Skip to content
Commit 62f148d8 authored by wengjianfeng's avatar wengjianfeng Committed by David S. Miller
Browse files

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: default avatarwengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ec7d6dd8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment