diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-04-19 15:24:29 +0200 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2018-04-19 15:37:58 +0200 |
commit | 1211229399b3f9b8b0e337c898efb09695f71c91 (patch) | |
tree | 5c26abdcd8a54c556be3176b0b74fe6c76180c99 /drivers/char/snsc_event.c | |
parent | ipmi: add an NPCM7xx KCS BMC driver (diff) | |
download | linux-1211229399b3f9b8b0e337c898efb09695f71c91.tar.xz linux-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 'drivers/char/snsc_event.c')
0 files changed, 0 insertions, 0 deletions