summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwengjianfeng <wengjianfeng@yulong.com>2021-04-07 06:16:38 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-08 00:32:31 +0300
commit872fff333fb1a100a54dfb7fd20fb418bb7e1ba5 (patch)
tree1923b8b3f414db3ea7e071b84d09b20400a06b1f /include
parentd567fd6e82faa61756810b9b0dfd9d0da11e960e (diff)
downloadlinux-872fff333fb1a100a54dfb7fd20fb418bb7e1ba5.tar.xz
nfc/fdp: remove unnecessary assignment and label
In function fdp_nci_patch_otp and fdp_nci_patch_ram,many goto out statements are used, and out label just return variable r. in some places,just jump to the out label, and in other places, assign a value to the variable r,then jump to the out label. It is unnecessary, we just use return sentences to replace goto sentences and delete out label. Signed-off-by: wengjianfeng <wengjianfeng@yulong.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions