diff options
author | 2021-02-04 12:38:48 +0100 | |
---|---|---|
committer | 2021-02-04 13:23:55 +0100 | |
commit | f807f4b7b32db00fc8622289644362e0695989bb (patch) | |
tree | 3855f86f3888d000b0dbca0531efc4bc9a26c0ec /lib/test_bitmap.c | |
parent | platform/x86: Move all dell drivers to their own subdirectory (diff) | |
download | linux-dev-f807f4b7b32db00fc8622289644362e0695989bb.tar.xz linux-dev-f807f4b7b32db00fc8622289644362e0695989bb.zip |
platform/surface: surface3-wmi: Fix variable 'status' set but not used compiler warning
Explicitly check the status rather then relying on output.pointer staying
NULL on an error. This silences the following compiler warning:
drivers/platform/surface/surface3-wmi.c:60:14: warning: variable 'status' set but not used [-Wunused-but-set-variable]
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210204113848.105994-1-hdegoede@redhat.com
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions