Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3dac2561 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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

parent c4c4018b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);