diff options
author | Jean Sacren <sakiwit@gmail.com> | 2021-10-06 00:41:20 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-06 15:17:28 +0100 |
commit | fe5d8bd3d3ea7422b8ae8f1863ac2ab06998947a (patch) | |
tree | 7931449b4fd6faceeca92d921795c5e9551dfcf6 /drivers/net/gtp.c | |
parent | Merge branch 'RTL8366RB-enhancements' (diff) | |
download | linux-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