commit | 1211229399b3f9b8b0e337c898efb09695f71c91 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Thu Apr 19 08:24:29 2018 -0500 |
committer | Corey Minyard <cminyard@mvista.com> | Thu Apr 19 08:37:58 2018 -0500 |
tree | 5c26abdcd8a54c556be3176b0b74fe6c76180c99 | |
parent | 6b2e54f7babea6c782a9c1af9d01c7f999bb4c7d [diff] |
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>