summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2021-12-01 15:53:51 +0100
committerDavid S. Miller <davem@davemloft.net>2021-12-02 12:17:28 +0000
commita290cf692779ccce6dbb05398fad32d035bfd313 (patch)
tree11d6d853c2b70d7e7808fea9e6fea90d3ae125b8 /drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
parentdfb40cba6d4500f8196b2df66c29c54f5c17af2b (diff)
downloadlinux-a290cf692779ccce6dbb05398fad32d035bfd313.tar.gz
linux-a290cf692779ccce6dbb05398fad32d035bfd313.tar.bz2
linux-a290cf692779ccce6dbb05398fad32d035bfd313.zip
net: lan966x: Fix duplicate check in frame extraction
The blamed commit generates the following smatch static checker warning: drivers/net/ethernet/microchip/lan966x/lan966x_main.c:515 lan966x_xtr_irq_handler() warn: duplicate check 'sz < 0' (previous on line 502) This patch fixes this issue removing the duplicate check 'sz < 0' Fixes: d28d6d2e37d10d ("net: lan966x: add port module support") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_sp_commands.c')
0 files changed, 0 insertions, 0 deletions