Commit 83682cd2 authored by Cruz Julian Bishop's avatar Cruz Julian Bishop Committed by Greg Kroah-Hartman

staging: slicoss: Fix three checkpatch.pl errors in slicoss.c

The errors fixed are all instances of
"ERROR: do not use assignment in if condition"
Signed-off-by: default avatarCruz Julian Bishop <cruzjbishop@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7864a0ac
......@@ -2930,11 +2930,14 @@ static int slic_if_init(struct adapter *adapter)
}
if (!adapter->queues_initialized) {
if ((rc = slic_rspqueue_init(adapter)))
rc = slic_rspqueue_init(adapter);
if (rc)
goto err;
if ((rc = slic_cmdq_init(adapter)))
rc = slic_cmdq_init(adapter);
if (rc)
goto err;
if ((rc = slic_rcvqueue_init(adapter)))
rc = slic_rcvqueue_init(adapter);
if (rc)
goto err;
adapter->queues_initialized = 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment