aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_packet_layer.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-02-04 11:38:48 +0000
committerHans de Goede <[email protected]>2021-02-04 12:23:55 +0000
commitf807f4b7b32db00fc8622289644362e0695989bb (patch)
tree3855f86f3888d000b0dbca0531efc4bc9a26c0ec /drivers/platform/surface/aggregator/ssh_packet_layer.c
parentplatform/x86: Move all dell drivers to their own subdirectory (diff)
downloadkernel-f807f4b7b32db00fc8622289644362e0695989bb.tar.gz
kernel-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 <[email protected]> Reviewed-by: Maximilian Luz <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_packet_layer.c')
0 files changed, 0 insertions, 0 deletions