rds: remove redundant variable total_payload_len
authorColin Ian King <colin.i.king@gmail.com>
Tue, 1 Nov 2022 10:41:04 +0000 (10:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2022 10:09:50 +0000 (10:09 +0000)
commitd28c0e73efbee95edf789f07c494592f89862606
tree488c9f8cf5cc19dd970d52d9c6ef7d6af04af049
parentb3809277addbba68724ee0cd6d048a3ca33c5e4d
rds: remove redundant variable total_payload_len

Variable total_payload_len is being used to accumulate payload lengths
however it is never read or used afterwards. It is redundant and can
be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/send.c