IB/core: Remove set-but-not-used variable from ib_sg_to_pages()
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 29 Dec 2015 09:45:03 +0000 (10:45 +0100)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:25:45 +0000 (15:25 -0500)
commitb6aeb980f1e143f3237365710290b199e9363eeb
tree15a5dd3c6b14b56d7cf321be289e7d7827cba764
parentc876a1b7dd6da5dd2d54990fa2772cbfe3779726
IB/core: Remove set-but-not-used variable from ib_sg_to_pages()

Detected this by building the IB core with W=1. See also patch
"IB core: Fix ib_sg_to_pages()" (commit 8f5ba10ed40a).

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Leon Romanovsky <leon.romanovsky@mellanox.com>
Acked-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/verbs.c