OSDN Git Service

net/rds: remove variable total_copied
authorColin Ian King <colin.i.king@gmail.com>
Mon, 24 Oct 2022 13:50:46 +0000 (14:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Oct 2022 03:14:40 +0000 (20:14 -0700)
commitb65ef50e0647cb6d7317ee5122f461286bb7f8d5
treeee182d4154c7f423fb9e18a210f7125098664c4a
parente0b3ef17f45eb8a6860189306cf0ce5f509a043b
net/rds: remove variable total_copied

Variable total_copied is just being incremented and it's never used
anywhere else. The variable and the increment are redundant so
remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20221024135046.2159523-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rds/message.c