diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-04-02 12:13:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-23 17:04:22 +0200 |
commit | 45bb08de65b418959313593f527c619e102c2d57 (patch) | |
tree | 0366d10ff63d10394cd590f3bee9f070098fea06 /include/soc/mscc | |
parent | 69b07ee33eb12a505d55e3e716fc7452496b9041 (diff) | |
download | lwn-45bb08de65b418959313593f527c619e102c2d57.tar.gz lwn-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 'include/soc/mscc')
0 files changed, 0 insertions, 0 deletions