]> git.proxmox.com Git - mirror_ubuntu-impish-kernel.git/commit
platform/x86: panasonic-laptop: remove redundant assignment of variable result
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Mar 2021 19:20:22 +0000 (19:20 +0000)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Apr 2021 17:47:22 +0000 (19:47 +0200)
commitf1fba08609627be90e9a5a89688e420b8b3c97b2
tree3f773c1d36c8c4fdcee099f0750bb3e644c16925
parent4d7ddd8d30da80518f50e7e19b67e9ec5489ddba
platform/x86: panasonic-laptop: remove redundant assignment of variable result

The variable result is being assigned a value that is never
read and it is being updated later with a new value. The
assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210326192022.623001-1-colin.king@canonical.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/panasonic-laptop.c