OSDN Git Service

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)
commitbdf08fc5412045f7648a49791d98cd04f72c1c1f
tree946d2a45ea30415db3b511d75ea1463837377f70
parentbbfa047a25c379e467536c5ed2ba00c0cb602ca1
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