linux/drivers/platform/surface
Markus Elfring 1eae7d43ec
platform/surface: aggregator: Omit a variable reassignment in ssam_serial_hub_probe()
An error code was assigned to a variable and checked accordingly.
This value was passed to a dev_err_probe() call in an if branch.
This function is documented in the way that the same value is returned.
Thus delete a redundant variable reassignment.

The source code was transformed by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://patch.msgid.link/b25c9842-7ebc-43f0-a411-8098359f81a6@web.de
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2025-11-05 10:50:00 +02:00
..
aggregator platform/surface: aggregator: Omit a variable reassignment in ssam_serial_hub_probe() 2025-11-05 10:50:00 +02:00
Kconfig platform: Do not enable by default during compile testing 2025-04-24 15:53:35 +03:00
Makefile
surface3-wmi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface3_power.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
surface_acpi_notify.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_aggregator_cdev.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_aggregator_hub.c
surface_aggregator_registry.c platform/surface: aggregator_registry: Add Support for Surface Pro 11 2025-03-11 17:25:16 +02:00
surface_aggregator_tabletsw.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
surface_dtx.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_gpe.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_hotplug.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_platform_profile.c ACPI: platform_profile: Remove platform_profile_handler from exported symbols 2025-01-17 19:15:59 +02:00
surfacepro3_button.c