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
Kirill Smelkov
linux
Commits
50c1416c
Commit
50c1416c
authored
Feb 24, 2004
by
Randy Dunlap
Committed by
Linus Torvalds
Feb 24, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ne: eliminate unused var. warning
parent
e07f4d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/net/ne.c
drivers/net/ne.c
+4
-2
No files found.
drivers/net/ne.c
View file @
50c1416c
...
...
@@ -165,7 +165,9 @@ static void ne_block_output(struct net_device *dev, const int count,
static
int
__init
do_ne_probe
(
struct
net_device
*
dev
)
{
unsigned
int
base_addr
=
dev
->
base_addr
;
int
irq
=
dev
->
irq
;
#ifndef MODULE
int
orig_irq
=
dev
->
irq
;
#endif
SET_MODULE_OWNER
(
dev
);
...
...
@@ -183,7 +185,7 @@ static int __init do_ne_probe(struct net_device *dev)
/* Last resort. The semi-risky ISA auto-probe. */
for
(
base_addr
=
0
;
netcard_portlist
[
base_addr
]
!=
0
;
base_addr
++
)
{
int
ioaddr
=
netcard_portlist
[
base_addr
];
dev
->
irq
=
irq
;
dev
->
irq
=
orig_
irq
;
if
(
ne_probe1
(
dev
,
ioaddr
)
==
0
)
return
0
;
}
...
...
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