mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
Drop LIST_HEAD where the variable it declares is never used. Commit31c02e2157("IPoIB: Avoid using stale last_send counter when reaping AHs") removed the uses, but not the declaration. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ identifier x; @@ - LIST_HEAD(x); ... when != x // </smpl> Fixes:31c02e2157("IPoIB: Avoid using stale last_send counter when reaping AHs") Signed-off-by: Julia Lawall <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>