提交 3dac2561 编写于 作者: R Ralf Baechle

[MIPS] RTLX: Delete multiple definition of ret shaddowing each other.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 c4c4018b
...@@ -166,8 +166,6 @@ int rtlx_open(int index, int can_sleep) ...@@ -166,8 +166,6 @@ int rtlx_open(int index, int can_sleep)
if (rtlx == NULL) { if (rtlx == NULL) {
if( (p = vpe_get_shared(RTLX_TARG_VPE)) == NULL) { if( (p = vpe_get_shared(RTLX_TARG_VPE)) == NULL) {
if (can_sleep) { if (can_sleep) {
int ret = 0;
__wait_event_interruptible(channel_wqs[index].lx_queue, __wait_event_interruptible(channel_wqs[index].lx_queue,
(p = vpe_get_shared(RTLX_TARG_VPE)), (p = vpe_get_shared(RTLX_TARG_VPE)),
ret); ret);
...@@ -183,8 +181,6 @@ int rtlx_open(int index, int can_sleep) ...@@ -183,8 +181,6 @@ int rtlx_open(int index, int can_sleep)
if (*p == NULL) { if (*p == NULL) {
if (can_sleep) { if (can_sleep) {
int ret = 0;
__wait_event_interruptible(channel_wqs[index].lx_queue, __wait_event_interruptible(channel_wqs[index].lx_queue,
*p != NULL, *p != NULL,
ret); ret);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册