diff options
| author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-12-23 09:57:01 +0100 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-02 15:42:43 -0700 |
| commit | 2fb458953a892020f36a323f386d8c7009f10777 (patch) | |
| tree | dd2e4b3a22ebb542355a988adca3521b7e4568d6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | IB/core: Add advise_mr to the list of known ops (diff) | |
| download | linux-2fb458953a892020f36a323f386d8c7009f10777.tar.gz linux-2fb458953a892020f36a323f386d8c7009f10777.zip | |
IB/ipoib: drop useless LIST_HEAD
Drop LIST_HEAD where the variable it declares is never used.
Commit 31c02e215700 ("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: 31c02e215700 ("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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
