summaryrefslogtreecommitdiff
path: root/drivers/net/gtp.c
diff options
context:
space:
mode:
authorJean Sacren <sakiwit@gmail.com>2021-10-06 09:41:20 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-06 17:17:28 +0300
commitfe5d8bd3d3ea7422b8ae8f1863ac2ab06998947a (patch)
tree7931449b4fd6faceeca92d921795c5e9551dfcf6 /drivers/net/gtp.c
parent6c601aac4976531ccfbda74e04ef9bf3626f205e (diff)
downloadlinux-fe5d8bd3d3ea7422b8ae8f1863ac2ab06998947a.tar.xz
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