diff options
| author | kbuild test robot <[email protected]> | 2017-07-25 13:36:25 +0800 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-07-28 14:51:36 -0400 |
| commit | 87809f83a4ba0bfe2b7f6b7d4611994fdbed8c8f (patch) | |
| tree | 6728dfad17d668933edb642564248ceafc9717fa /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3756c7f59a4538bb40d77a25221dc411cc7dd2e9 (diff) | |
IB/hns: fix returnvar.cocci warnings
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:2026:5-8: Unneeded variable: "ret". Return "0" on line 2046
Remove unneeded variable used to store return value.
Generated by: scripts/coccinelle/misc/returnvar.cocci
Fixes: 7d1b6a678e0b ("IB/hns: Support compile test for hns RoCE driver")
CC: Matan Barak <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions