commit | 45bb08de65b418959313593f527c619e102c2d57 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Thu Apr 02 12:13:41 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 23 17:04:22 2020 +0200 |
tree | 0366d10ff63d10394cd590f3bee9f070098fea06 | |
parent | 69b07ee33eb12a505d55e3e716fc7452496b9041 [diff] |
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>