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
a6f6b4a0
Commit
a6f6b4a0
authored
Oct 28, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code in axnet_cs net driver.
del_timer_sync and printk fixes in fmvj18x_cs net driver.
parent
c45026dc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
24 deletions
+2
-24
drivers/net/pcmcia/axnet_cs.c
drivers/net/pcmcia/axnet_cs.c
+0
-21
drivers/net/pcmcia/fmvj18x_cs.c
drivers/net/pcmcia/fmvj18x_cs.c
+2
-3
No files found.
drivers/net/pcmcia/axnet_cs.c
View file @
a6f6b4a0
...
...
@@ -1134,27 +1134,6 @@ static int ei_open(struct net_device *dev)
return
0
;
}
/**
* ei_close - shut down network device
* @dev: network device to close
*
* Opposite of ei_open(). Only used when "ifconfig <devname> down" is done.
*/
static
int
ei_close
(
struct
net_device
*
dev
)
{
unsigned
long
flags
;
/*
* Hold the page lock during close
*/
spin_lock_irqsave
(
&
((
struct
ei_device
*
)
dev
->
priv
)
->
page_lock
,
flags
);
NS8390_init
(
dev
,
0
);
spin_unlock_irqrestore
(
&
((
struct
ei_device
*
)
dev
->
priv
)
->
page_lock
,
flags
);
netif_stop_queue
(
dev
);
return
0
;
}
/**
* ei_tx_timeout - handle transmit time out condition
* @dev: network device which has apparently fallen asleep
...
...
drivers/net/pcmcia/fmvj18x_cs.c
View file @
a6f6b4a0
...
...
@@ -362,7 +362,7 @@ static void fmvj18x_detach(dev_link_t *link)
if
(
*
linkp
==
NULL
)
return
;
del_timer
(
&
link
->
release
);
del_timer
_sync
(
&
link
->
release
);
if
(
link
->
state
&
DEV_CONFIG
)
{
fmvj18x_release
((
u_long
)
link
);
if
(
link
->
state
&
DEV_STALE_CONFIG
)
{
...
...
@@ -571,8 +571,7 @@ static void fmvj18x_config(dev_link_t *link)
case
XXX10304
:
/* Read MACID from Buggy CIS */
if
(
fmvj18x_get_hwinfo
(
link
,
tuple
.
TupleData
)
==
-
1
)
{
printk
(
KERN_NOTICE
"fmvj18x_cs: unable to read hardware net
address."
);
printk
(
KERN_NOTICE
"fmvj18x_cs: unable to read hardware net address.
\n
"
);
unregister_netdev
(
dev
);
goto
failed
;
}
...
...
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