Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
3dac2561
Commit
3dac2561
authored
Feb 23, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] RTLX: Delete multiple definition of ret shaddowing each other.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
c4c4018b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
arch/mips/kernel/rtlx.c
arch/mips/kernel/rtlx.c
+0
-4
No files found.
arch/mips/kernel/rtlx.c
View file @
3dac2561
...
@@ -166,8 +166,6 @@ int rtlx_open(int index, int can_sleep)
...
@@ -166,8 +166,6 @@ int rtlx_open(int index, int can_sleep)
if
(
rtlx
==
NULL
)
{
if
(
rtlx
==
NULL
)
{
if
(
(
p
=
vpe_get_shared
(
RTLX_TARG_VPE
))
==
NULL
)
{
if
(
(
p
=
vpe_get_shared
(
RTLX_TARG_VPE
))
==
NULL
)
{
if
(
can_sleep
)
{
if
(
can_sleep
)
{
int
ret
=
0
;
__wait_event_interruptible
(
channel_wqs
[
index
].
lx_queue
,
__wait_event_interruptible
(
channel_wqs
[
index
].
lx_queue
,
(
p
=
vpe_get_shared
(
RTLX_TARG_VPE
)),
(
p
=
vpe_get_shared
(
RTLX_TARG_VPE
)),
ret
);
ret
);
...
@@ -183,8 +181,6 @@ int rtlx_open(int index, int can_sleep)
...
@@ -183,8 +181,6 @@ int rtlx_open(int index, int can_sleep)
if
(
*
p
==
NULL
)
{
if
(
*
p
==
NULL
)
{
if
(
can_sleep
)
{
if
(
can_sleep
)
{
int
ret
=
0
;
__wait_event_interruptible
(
channel_wqs
[
index
].
lx_queue
,
__wait_event_interruptible
(
channel_wqs
[
index
].
lx_queue
,
*
p
!=
NULL
,
*
p
!=
NULL
,
ret
);
ret
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment