Thread (2 messages) flat view 2 messages, 2 authors, 2021-05-25

Re: [PATCH] NFC: st95hf: remove unnecessary assignment and label

From: Krzysztof Kozlowski <hidden>
Date: 2021-05-25 11:38:24
Also in: lkml, oe-linux-nfc

On 25/05/2021 02:38, samirweng1979 wrote:
From: wengjianfeng <redacted>

In function st95hf_in_send_cmd, the variable rc is assigned then goto
error label, which just return rc, so we use return to replace it. and
s/return/returns/
s/. and/. Since/ (don't start sentences with "and", neither with
lowercase letter).
error label only used once in the function, so we remove error label.
With these fixes and subject prefix fix to "nfc" (lowercase):

Reviewed-by: Krzysztof Kozlowski <redacted>

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help