]> 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)
commitd8fd2d0a7f68c17aee46dbfa6474282395150e53
treedc16bc82b2915e844bbbcbc5d16cfabc9528f63b
parent01ac87ea23be9cb493ad3fa3dbf3b15dd2a439e5
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