]> 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)
commitce508bf9cb4bf9970fbb0b667759d24af92b67fd
tree946d2a45ea30415db3b511d75ea1463837377f70
parent2ab5e3da84aeff2dd8d84840014d8df4ed06d29a
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