Преглед на файлове

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle преди 18 години
родител
ревизия
3dac2561e2
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      arch/mips/kernel/rtlx.c

+ 0 - 4
arch/mips/kernel/rtlx.c

@@ -166,8 +166,6 @@ int rtlx_open(int index, int can_sleep)
 	if (rtlx == NULL) {
 		if( (p = vpe_get_shared(RTLX_TARG_VPE)) == NULL) {
 			if (can_sleep) {
-				int ret = 0;
-
 				__wait_event_interruptible(channel_wqs[index].lx_queue,
 				                           (p = vpe_get_shared(RTLX_TARG_VPE)),
 				                           ret);
@@ -183,8 +181,6 @@ int rtlx_open(int index, int can_sleep)
 
 		if (*p == NULL) {
 			if (can_sleep) {
-				int ret = 0;
-
 				__wait_event_interruptible(channel_wqs[index].lx_queue,
 				                           *p != NULL,
 				                           ret);