]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: remove redundant re-assignment of pointer link
authorColin Ian King <colin.i.king@gmail.com>
Thu, 30 Dec 2021 15:39:00 +0000 (15:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Jan 2022 12:14:10 +0000 (12:14 +0000)
commite1e58b4544cb1ccc2dda08f439e6ecf0695acde7
tree4a4e9ae47c3fc72586823fb63c009a654f3714f3
parent87036ee2e4cf2edfd40a024a478a2ee247e9e781
net/smc: remove redundant re-assignment of pointer link

The pointer link is being re-assigned the same value that it was
initialized with in the previous declaration statement. The
re-assignment is redundant and can be removed.

Fixes: 16680fe9aa88 ("net/smc: convert static link ID to dynamic references")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_clc.c