mirror of
https://github.com/torvalds/linux.git
synced 2026-08-12 18:37:30 +02:00
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 |
||
|---|---|---|
| .. | ||
| aggregator | ||
| Kconfig | ||
| Makefile | ||
| surface_acpi_notify.c | ||
| surface_aggregator_cdev.c | ||
| surface_gpe.c | ||
| surface3_button.c | ||
| surface3_power.c | ||
| surface3-wmi.c | ||
| surfacepro3_button.c | ||