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)
commite0dc26c781fb69248add2b33549461cd780165b8
tree24944e5d4b0d3b2904cbdf0f4fcb3200c8e4fa29
parent6d2576e4805ae26ac7a64ea1d3be28c18d5c99b5
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