ipmi:ssif: resend_msg() cannot fail

commit 95767ed78a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Corey Minyard 2023-01-25 10:11:06 -06:00 • committed by Greg Kroah-Hartman
commit 605f607f07