aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJason Yan <[email protected]>2020-04-29 22:09:52 +0800
committerMartin K. Petersen <[email protected]>2020-05-07 21:54:42 -0400
commit1b007f96f9e063f9f0b93597a4089114a89c1854 (patch)
treecdd7991ab10a752b2dec2d6d2dec4cde41ccbf90 /tools/perf/scripts/python/bin
parent803e45550b11c8e43d89812356fe6f105adebdf9 (diff)
scsi: qla2xxx: Make qla_set_ini_mode() return void
The return value is not used by the caller and the local variable 'rc' is not needed. Make qla_set_ini_mode() return void and remove 'rc'. This also fixes the following coccicheck warning: drivers/scsi/qla2xxx/qla_attr.c:1906:5-7: Unneeded variable: "rc". Return "0" on line 2180 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions