summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-12-05 17:37:52 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-06 14:25:25 -0500
commit92425c40676d498efccae6fecdb8f8e4dcf7e4a4 (patch)
treebc77460e26d059d83d5a162b6df2f456dd7c944a /net
parentb9f242047f2185f762e952d8d773f6d01f3c2d20 (diff)
downloadop-kernel-dev-92425c40676d498efccae6fecdb8f8e4dcf7e4a4.zip
op-kernel-dev-92425c40676d498efccae6fecdb8f8e4dcf7e4a4.tar.gz
bnxt_en: Uninitialized variable in bnxt_tc_parse_actions()
Smatch warns that: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:160 bnxt_tc_parse_actions() error: uninitialized symbol 'rc'. "rc" is either uninitialized or set to zero here so we can just remove the check. Fixes: 8c95f773b4a3 ("bnxt_en: add support for Flower based vxlan encap/decap offload") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud