diff options
| author | kbuild test robot <fengguang.wu@intel.com> | 2017-07-25 13:36:25 +0800 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-07-28 14:51:36 -0400 |
| commit | 87809f83a4ba0bfe2b7f6b7d4611994fdbed8c8f (patch) | |
| tree | 6728dfad17d668933edb642564248ceafc9717fa /tools/perf/scripts/python/bin | |
| parent | IB/hns: fix boolreturn.cocci warnings (diff) | |
| download | linux-87809f83a4ba0bfe2b7f6b7d4611994fdbed8c8f.tar.gz linux-87809f83a4ba0bfe2b7f6b7d4611994fdbed8c8f.zip | |
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 <matanb@mellanox.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
