diff options
author | 2016-04-13 09:44:31 +0300 | |
---|---|---|
committer | 2016-04-30 09:26:55 -0700 | |
commit | fab794aeb60f5069a026fad8a4ff7c1cdf5b8713 (patch) | |
tree | a26c118ca3c5c69522f94608498eda47094746dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: synclink: remove unneeded test (diff) | |
download | wireguard-linux-fab794aeb60f5069a026fad8a4ff7c1cdf5b8713.tar.xz wireguard-linux-fab794aeb60f5069a026fad8a4ff7c1cdf5b8713.zip |
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 <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions