diff options
| author | Ken Depro <kenneth.depro@unisys.com> | 2015-01-20 10:01:13 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 19:59:17 +0800 |
| commit | 20078e4859dc0776c7e76c97adaebcf15a0f98de (patch) | |
| tree | db37a7b26e4df59f71372cfc3c66a3f63fadf195 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 1cc598c75b72174d125ea2a7568cd231ba9fed27 (diff) | |
staging: unisys: Fix "else not useful after return" warning in virthba.c
This patch fixes a warning generated during the checkpatch script that stated
"else not useful after return". I modified the code to return a designated
status at the end of the function, and replaced the return statement in the
"else if" to set the status accordingly.
Signed-off-by: Ken Depro <kenneth.depro@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
