summaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorwengjianfeng <wengjianfeng@yulong.com>2021-04-12 04:20:06 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-12 22:23:03 +0200
commita115d24a636e892ddd1ae58f8e23c78a0390cb68 (patch)
treea52dd32aa2cee8b8b6d92819cec29f9eb507f82a /net/sysctl_net.c
parentMerge branch 'bnxt_en-error-recovery' (diff)
downloadlinux-a115d24a636e892ddd1ae58f8e23c78a0390cb68.tar.xz
linux-a115d24a636e892ddd1ae58f8e23c78a0390cb68.zip
nfc: pn533: remove redundant assignment
In many places,first assign a value to a variable and then return the variable. which is redundant, we should directly return the value. in pn533_rf_field funciton,return rc also in the if statement, so we use return 0 to replace the last return rc. Signed-off-by: wengjianfeng <wengjianfeng@yulong.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions