]> git.baikalelectronics.ru Git - kernel.git/commit
efi/capsule-loader: Drop superfluous assignment
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 23 Feb 2020 20:54:35 +0000 (21:54 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:58:31 +0000 (21:58 +0100)
commit2fe9af4595842ccd6fec9b1aaf6cff8649ccf91d
tree24944e5d4b0d3b2904cbdf0f4fcb3200c8e4fa29
parent705d989599496c92c9bb7009067ba49210e09d70
efi/capsule-loader: Drop superfluous assignment

In efi_capsule_write() the value 0 assigned to ret is never used.

Identified with cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Link: https://lore.kernel.org/r/20200223205435.114915-1-xypron.glpk@gmx.de
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/capsule-loader.c