aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-08-30 09:10:47 +0100
committerGreg Kroah-Hartman <[email protected]>2019-09-03 09:36:07 +0200
commit2e63a4a4b78e2a68a475be98cdefedea30dc0d5c (patch)
tree53628f06fb27351a5f65529ccfc10b65b80be89a /net/switchdev/switchdev.c
parentbe22bc7ceb5f4a713924c2ccaa9db1c27992b739 (diff)
staging: rts5208: remove redundant sd30_mode checks
There are two hunks of code that check if sd30_mode is true however an earlier check in an outer code block on sd30_mode being false means that sd30_mode can never be true at these points so these checks are redundant. Remove the dead code. Addresses-Coverity: ("Logically dead code") Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions