diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-04-19 08:24:29 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2018-04-19 08:37:58 -0500 |
commit | 1211229399b3f9b8b0e337c898efb09695f71c91 (patch) | |
tree | 5c26abdcd8a54c556be3176b0b74fe6c76180c99 /include/linux/ipmi_smi.h | |
parent | 6b2e54f7babea6c782a9c1af9d01c7f999bb4c7d (diff) | |
download | lwn-1211229399b3f9b8b0e337c898efb09695f71c91.tar.gz lwn-1211229399b3f9b8b0e337c898efb09695f71c91.zip |
ipmi_ssif: Fix uninitialized variable issue
Currently, function ssif_remove returns _rv_, which is a variable that
is never initialized.
Fix this by removing variable _rv_ and return 0 instead.
Addresses-Coverity-ID: 1467999 ("Uninitialized scalar variable")
Fixes: 6a0d23ed338e ("ipmi: ipmi_unregister_smi() cannot fail, have it
return void")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/linux/ipmi_smi.h')
0 files changed, 0 insertions, 0 deletions