linux-stable/drivers/infiniband/ulp
Julia Lawall 2fb458953a IB/ipoib: drop useless LIST_HEAD
Drop LIST_HEAD where the variable it declares is never used.

Commit 31c02e2157 ("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 <Julia.Lawall@lip6.fr>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-02 15:42:43 -07:00
..
ipoib IB/ipoib: drop useless LIST_HEAD 2019-01-02 15:42:43 -07:00
iser 4.21 merge window pull request 2018-12-28 14:57:10 -08:00
isert RDMA/ulp: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
opa_vnic RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
srp 4.21 merge window pull request 2018-12-28 14:57:10 -08:00
srpt 4.21 merge window pull request 2018-12-28 14:57:10 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00