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: Cruz Julian Bishop <cruzjbishop@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Cruz Julian Bishop 2013-01-14 12:29:08 +10:00 коммит произвёл Greg Kroah-Hartman
Родитель 7864a0ac4b
Коммит 83682cd2fe
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -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;
}