diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2020-11-08 13:13:00 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-11 00:26:31 +0100 |
commit | 1aa844b92176cbcafe6b614707f5ef78487966ab (patch) | |
tree | a7e3ac868950ff0810bc65fb7c982e4d360425ac /net/sched/em_cmp.c | |
parent | net: atlantic: Remove unnecessary conversion to bool (diff) | |
download | linux-1aa844b92176cbcafe6b614707f5ef78487966ab.tar.xz linux-1aa844b92176cbcafe6b614707f5ef78487966ab.zip |
net: pch_gbe: remove unneeded variable retval in __pch_gbe_suspend
Fix the following coccicheck warning:
./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c:2415:5-11: Unneeded variable: "retval". Return "0" on line 2435
Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1604837580-12419-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched/em_cmp.c')
0 files changed, 0 insertions, 0 deletions