projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c4018
)
[MIPS] RTLX: Delete multiple definition of ret shaddowing each other.
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 23 Feb 2007 14:12:32 +0000
(14:12 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 26 Feb 2007 23:06:06 +0000
(23:06 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/rtlx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/rtlx.c
b/arch/mips/kernel/rtlx.c
index 7a8683ab6fdedc32ba70a7351377576be6d19d72..e14ae09eda2b7a94dd4d264bd9d0b7c864380811 100644
(file)
--- a/
arch/mips/kernel/rtlx.c
+++ b/
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);