aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-04-13 09:44:31 +0300
committerGreg Kroah-Hartman <[email protected]>2016-04-30 09:26:55 -0700
commitfab794aeb60f5069a026fad8a4ff7c1cdf5b8713 (patch)
treea26c118ca3c5c69522f94608498eda47094746dd /tools/perf/scripts/python
parent423314337acde8ddda6324f0917b306642b3ef6c (diff)
tty: hvc_console: silence unintialized variable warning
If ->get_char() returns a negative error code and that can mean that "ch" is uninitialized. The callers of this function expect NO_POLL_CHAR on error so let's return that. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions