Skip to content
Commit 1aa844b9 authored by Kaixu Xia's avatar Kaixu Xia Committed by Jakub Kicinski
Browse files

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: default avatarTosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: default avatarKaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1604837580-12419-1-git-send-email-kaixuxia@tencent.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 3ec94da9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment