diff options
author | 2020-04-02 12:13:41 +0100 | |
---|---|---|
committer | 2020-04-23 17:04:22 +0200 | |
commit | 45bb08de65b418959313593f527c619e102c2d57 (patch) | |
tree | 0366d10ff63d10394cd590f3bee9f070098fea06 /drivers/pci/remove.c | |
parent | debugfs: Use the correct style for SPDX License Identifier (diff) | |
download | linux-dev-45bb08de65b418959313593f527c619e102c2d57.tar.xz linux-dev-45bb08de65b418959313593f527c619e102c2d57.zip |
driver core: platform: remove redundant assignment to variable ret
The variable ret is being initialized with a value that is never read
and it is being updated later with a new value. The initialization 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/20200402111341.511801-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/remove.c')
0 files changed, 0 insertions, 0 deletions