aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gtp.c
diff options
context:
space:
mode:
authorJean Sacren <sakiwit@gmail.com>2021-10-06 00:41:20 -0600
committerDavid S. Miller <davem@davemloft.net>2021-10-06 15:17:28 +0100
commitfe5d8bd3d3ea7422b8ae8f1863ac2ab06998947a (patch)
tree7931449b4fd6faceeca92d921795c5e9551dfcf6 /drivers/net/gtp.c
parentMerge branch 'RTL8366RB-enhancements' (diff)
downloadlinux-dev-fe5d8bd3d3ea7422b8ae8f1863ac2ab06998947a.tar.xz
linux-dev-fe5d8bd3d3ea7422b8ae8f1863ac2ab06998947a.zip
net: tg3: fix obsolete check of !err
The err variable is checked for true or false a few lines above. When !err is checked again, it always evaluates to true. Therefore we should skip this check. We should also group the adjacent statements together for readability. Signed-off-by: Jean Sacren <sakiwit@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gtp.c')
0 files changed, 0 insertions, 0 deletions