aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/rtlx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/rtlx.c')
-rw-r--r--arch/mips/kernel/rtlx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c
index 7a8683ab6fde..e14ae09eda2b 100644
--- a/arch/mips/kernel/rtlx.c
+++ b/arch/mips/kernel/rtlx.c
@@ -166,8 +166,6 @@ int rtlx_open(int index, int can_sleep)
166 if (rtlx == NULL) { 166 if (rtlx == NULL) {
167 if( (p = vpe_get_shared(RTLX_TARG_VPE)) == NULL) { 167 if( (p = vpe_get_shared(RTLX_TARG_VPE)) == NULL) {
168 if (can_sleep) { 168 if (can_sleep) {
169 int ret = 0;
170
171 __wait_event_interruptible(channel_wqs[index].lx_queue, 169 __wait_event_interruptible(channel_wqs[index].lx_queue,
172 (p = vpe_get_shared(RTLX_TARG_VPE)), 170 (p = vpe_get_shared(RTLX_TARG_VPE)),
173 ret); 171 ret);
@@ -183,8 +181,6 @@ int rtlx_open(int index, int can_sleep)
183 181
184 if (*p == NULL) { 182 if (*p == NULL) {
185 if (can_sleep) { 183 if (can_sleep) {
186 int ret = 0;
187
188 __wait_event_interruptible(channel_wqs[index].lx_queue, 184 __wait_event_interruptible(channel_wqs[index].lx_queue,
189 *p != NULL, 185 *p != NULL,
190 ret); 186 ret);