aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDaeseok Youn <[email protected]>2016-07-06 15:11:52 +0900
committerGreg Kroah-Hartman <[email protected]>2016-08-15 19:06:09 +0200
commit290e3abaccbac6afeb3376b13627b3fc6974554b (patch)
treea65a243968cc95a6906348ca4c82984e1bfd697c /tools/perf/scripts/python/bin/stackcollapse-record
parent10334418d62d968e2901eb116ea449828b782c96 (diff)
staging: dgnc: remove useless error value assignment
The "result" variable in dgnc_get_mstat() was initialized with "-EIO". But if the "ch" is not null, "result" will be set to zero and if the "ch" is null, dgnc_get_mstat() will return "-ENXIO" as an error. So "-EIO" error value was useless in dgnc_get_mstat(). Signed-off-by: Daeseok Youn <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions