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)
commit5e2cbf13d0ec4fe2b6aabbeb6fe44830e8788dd0
tree1d7eb8df1c3399af75aee61cb79c97c9b3f90763
parentc16c6655605f52cf2107a7c8dc0c798645351976
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