diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-12-23 09:57:14 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-24 14:22:14 -0800 |
commit | 61988bd281c9b08e0cc084f0b2da3b109c4c39c8 (patch) | |
tree | 09062adbeab460b8a3da9f835622f74e4fae446f /block | |
parent | d0863792f805ffad7d98fb6bd484bc2fad59c8ea (diff) | |
download | linux-61988bd281c9b08e0cc084f0b2da3b109c4c39c8.tar.gz linux-61988bd281c9b08e0cc084f0b2da3b109c4c39c8.tar.bz2 linux-61988bd281c9b08e0cc084f0b2da3b109c4c39c8.zip |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions