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
aaca1f4f
Commit
aaca1f4f
authored
Jul 10, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr atmel_cs] kill compiler warning (jumping to "empty" label)
parent
64d6671f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
drivers/net/wireless/atmel_cs.c
drivers/net/wireless/atmel_cs.c
+5
-6
No files found.
drivers/net/wireless/atmel_cs.c
View file @
aaca1f4f
...
@@ -391,7 +391,7 @@ static void atmel_config(dev_link_t *link)
...
@@ -391,7 +391,7 @@ static void atmel_config(dev_link_t *link)
local_info_t
*
dev
;
local_info_t
*
dev
;
int
last_fn
,
last_ret
;
int
last_fn
,
last_ret
;
u_char
buf
[
64
];
u_char
buf
[
64
];
int
card_index
=
-
1
;
int
card_index
=
-
1
,
done
=
0
;
handle
=
link
->
handle
;
handle
=
link
->
handle
;
dev
=
link
->
priv
;
dev
=
link
->
priv
;
...
@@ -415,13 +415,13 @@ static void atmel_config(dev_link_t *link)
...
@@ -415,13 +415,13 @@ static void atmel_config(dev_link_t *link)
manfid
->
manf
==
card_table
[
i
].
manf
&&
manfid
->
manf
==
card_table
[
i
].
manf
&&
manfid
->
card
==
card_table
[
i
].
card
)
{
manfid
->
card
==
card_table
[
i
].
card
)
{
card_index
=
i
;
card_index
=
i
;
goto
done
;
done
=
1
;
}
}
}
}
}
}
tuple
.
DesiredTuple
=
CISTPL_VERS_1
;
tuple
.
DesiredTuple
=
CISTPL_VERS_1
;
if
(
CardServices
(
GetFirstTuple
,
handle
,
&
tuple
)
==
0
)
{
if
(
!
done
&&
(
CardServices
(
GetFirstTuple
,
handle
,
&
tuple
)
==
0
)
)
{
int
i
,
j
,
k
;
int
i
,
j
,
k
;
cistpl_vers_1_t
*
ver1
;
cistpl_vers_1_t
*
ver1
;
CS_CHECK
(
GetTupleData
,
handle
,
&
tuple
);
CS_CHECK
(
GetTupleData
,
handle
,
&
tuple
);
...
@@ -446,12 +446,11 @@ static void atmel_config(dev_link_t *link)
...
@@ -446,12 +446,11 @@ static void atmel_config(dev_link_t *link)
goto
mismatch
;
goto
mismatch
;
}
}
card_index
=
i
;
card_index
=
i
;
goto
done
;
break
;
/* done */
mismatch:
mismatch:
j
=
0
;
/* dummy stmt to shut up compiler */
}
}
done:
}
}
/*
/*
...
...
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