提交 92adcc80 编写于 作者: D Devendra Naga 提交者: Greg Kroah-Hartman

staging: slicoss: remove default case after we done with request_firmware

we are returning -ENOENT when there is no firmware file for a matching
device id. then we start calling request_firmware,
after this we do checks on the firmware length of corresponding
device id, since the default case is handled in the begining itself
there is no need of a default case at the firmware length checks
Signed-off-by: NDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 e5d2cb4a
......@@ -539,9 +539,6 @@ static int slic_card_download_gbrcv(struct adapter *adapter)
return -EINVAL;
}
break;
default:
ASSERT(0);
break;
}
/* start download */
slic_reg32_write(&slic_regs->slic_rcv_wcs, SLIC_RCVWCS_BEGIN, FLUSH);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册