aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorKaixu Xia <[email protected]>2020-11-17 17:29:12 +0800
committerMarc Kleine-Budde <[email protected]>2020-11-20 12:06:47 +0100
commit275f6010b6994ad286a859062c03be050e8073ad (patch)
treea0605aa3ab873bdff5a1df04d4d4a0cc75b15442 /net/lapb/lapb_timer.c
parent887e5a9ace74419a9797bbf665d521dd9c0bdf4b (diff)
can: mcp251xfd: remove useless code in mcp251xfd_chip_softreset
It would directly return if the variable err equals to 0 or other errors. Only when the err equals to -ETIMEDOUT it can reach the 'if (err)' statement, so the 'if (err)' and last 'return -ETIMEDOUT' statements are useless. Romove them. Reported-by: Tosk Robot <[email protected]> Signed-off-by: Kaixu Xia <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions