OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.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
|
history
diff --git
a/arch/mips/kernel/rtlx.c
b/arch/mips/kernel/rtlx.c
index
7a8683a
..
e14ae09
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);