]> git.baikalelectronics.ru Git - kernel.git/commit
sh_eth: kill useless initializers in sh_eth_{suspend|resume}()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Sat, 29 Jan 2022 18:45:45 +0000 (21:45 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Feb 2022 05:37:24 +0000 (21:37 -0800)
commit9a90986efcffc7e996f63837b0e84d5e773f2763
treedc16bc82b2915e844bbbcbc5d16cfabc9528f63b
parent7354a426e063e108c0a3590f13abc77573172576
sh_eth: kill useless initializers in sh_eth_{suspend|resume}()

sh_eth_{suspend|resume}() initialize their local variable 'ret' to 0 but
this value is never really used, thus we can kill those intializers...

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/f09d7c64-4a2b-6973-09a4-10d759ed0df4@omp.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/renesas/sh_eth.c