ipmi:ssif: resend_msg() cannot fail
authorCorey Minyard <cminyard@mvista.com>
Wed, 25 Jan 2023 16:11:06 +0000 (10:11 -0600)
committerCorey Minyard <cminyard@mvista.com>
Fri, 10 Feb 2023 13:37:23 +0000 (07:37 -0600)
commit95767ed78a181d5404202627499f9cde56053b96
tree1dcca48f47401c7e0fd7ef89785ea0fe304470a5
parent041fae9c105ae342a4245cf1e0dc56a23fbb9d3c
ipmi:ssif: resend_msg() cannot fail

The resend_msg() function cannot fail, but there was error handling
around using it.  Rework the handling of the error, and fix the out of
retries debug reporting that was wrong around this, too.

Cc: stable@vger.kernel.org
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_ssif.c