]> git.baikalelectronics.ru Git - kernel.git/commit
NTB: ntb_transport: remove redundant assignment to rc
authorColin Ian King <colin.king@canonical.com>
Sun, 18 Aug 2019 18:53:49 +0000 (19:53 +0100)
committerJon Mason <jdmason@kudzu.us>
Mon, 23 Sep 2019 21:20:40 +0000 (17:20 -0400)
commit15ed0d75e9f9c4f0fc605cf7cdd35254a696ee15
tree1d7eb8df1c3399af75aee61cb79c97c9b3f90763
parent0954e32cebb7a118c94b7a14a8d27b22cf6bc471
NTB: ntb_transport: remove redundant assignment to rc

Variable rc is initialized to a value that is never read and it
is re-assigned later. The initialization is redundant and can be
removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c