commit | 61988bd281c9b08e0cc084f0b2da3b109c4c39c8 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sun Dec 23 09:57:14 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 24 14:22:14 2018 -0800 |
tree | 09062adbeab460b8a3da9f835622f74e4fae446f | |
parent | d0863792f805ffad7d98fb6bd484bc2fad59c8ea [diff] |
net/mlx4_core: drop useless LIST_HEAD Drop LIST_HEAD where the variable it declares has never been used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ identifier x; @@ - LIST_HEAD(x); ... when != x // </smpl> Fixes: c82e9aa0a8bc ("mlx4_core: resource tracking for HCA resources used by guests") Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>