aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@gmail.com>2018-06-29 18:12:46 -0400
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-07-02 09:48:22 -0400
commiteca4c4e47eb0658ad251f0bff465e23c055377da (patch)
treec7fda948c191bd93a68fb14ac1b11407559d7ece /net/lapb/lapb_timer.c
parent6bb6ec285df9a20128f8b0ed7cdaad7152208eb8 (diff)
platform/x86: asus-wireless: Fix uninitialized symbol usage
'ret' will not be initialized if acpi_evaluate_integer() returns through an error path, so it should not be used in this case. This fixes the following Smatch static analyser error: drivers/platform/x86/asus-wireless.c:76 asus_wireless_method() error: uninitialized symbol 'ret'. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions