]> git.baikalelectronics.ru Git - kernel.git/commit
rds: remove redundant variable 'sg_off'
authorColin Ian King <colin.king@canonical.com>
Sun, 11 Mar 2018 16:27:56 +0000 (17:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 15:12:38 +0000 (11:12 -0400)
commita946c3f590b63aa506baf32c768044135c6d7c49
tree946d2a45ea30415db3b511d75ea1463837377f70
parent801620d91565be68c225a89c9f8f08156043ffb6
rds: remove redundant variable 'sg_off'

Variable sg_off is assigned a value but it is never read, hence it is
redundant and can be removed.

Cleans up clang warning:
net/rds/message.c:373:2: warning: Value stored to 'sg_off' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/message.c