aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro
diff options
context:
space:
mode:
authorNigel Christian <nigel.l.christian@gmail.com>2021-06-01 09:35:33 -0400
committerDavid S. Miller <davem@davemloft.net>2021-06-01 16:58:38 -0700
commite5432cc71ab64b10100a290b7bf32804981c9cb4 (patch)
treed241119de1d495b4edbec7c8411916fed8f878b7 /drivers/net/ethernet/stmicro
parentMerge branch 'hdlc-cleanups' (diff)
downloadlinux-dev-e5432cc71ab64b10100a290b7bf32804981c9cb4.tar.xz
linux-dev-e5432cc71ab64b10100a290b7bf32804981c9cb4.zip
NFC: microread: Remove redundant assignment to variable err
In the case MICROREAD_CB_TYPE_READER_ALL clang reports a dead code warning. The error code assigned to variable err is already passed to async_cb(). The assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Nigel Christian <nigel.l.christian@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions