usb: storage: datafab: remove redundant assignment of variable result
authorColin Ian King <colin.king@canonical.com>
Tue, 20 Apr 2021 11:38:18 +0000 (12:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 08:52:10 +0000 (10:52 +0200)
commit95dbac94da7f9cff9a056fcf9c3a1679aa5ac337
treee4b40071f79c5de6c9ad3fc928f3e82511f3ae69
parent2bda2c09625772ff4d514df183afe90c84d6d9c6
usb: storage: datafab: remove redundant assignment of variable result

The variable result is being assigned with a value that is
never read, the assignment is redundant and can be removed.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210420113818.378478-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/datafab.c