]> git.baikalelectronics.ru Git - kernel.git/commit
platform/surface: aggregator: Drop unnecessary variable initialization
authorMaximilian Luz <luzmaximilian@gmail.com>
Fri, 4 Jun 2021 21:09:07 +0000 (23:09 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 16 Jun 2021 15:47:54 +0000 (17:47 +0200)
commit9108e8d9211ff9ebe7b941271fe459ca0505db43
tree00a9fd4bcb4278351e49932a12e2eb016886d194
parent0e099914a597385b0e78c9b427ba66182da97175
platform/surface: aggregator: Drop unnecessary variable initialization

The status variable in ssam_controller_event_disable() is always set, no
need to initialize it.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20210604210907.25738-3-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/aggregator/controller.c