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
bfdc815e
Commit
bfdc815e
authored
Feb 25, 2004
by
Christoph Hellwig
Committed by
Christoph Hellwig
Feb 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c
parent
05e7f554
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
drivers/net/lasi_82596.c
drivers/net/lasi_82596.c
+0
-4
No files found.
drivers/net/lasi_82596.c
View file @
bfdc815e
...
@@ -1016,8 +1016,6 @@ static int i596_open(struct net_device *dev)
...
@@ -1016,8 +1016,6 @@ static int i596_open(struct net_device *dev)
{
{
DEB
(
DEB_OPEN
,
printk
(
"%s: i596_open() irq %d.
\n
"
,
dev
->
name
,
dev
->
irq
));
DEB
(
DEB_OPEN
,
printk
(
"%s: i596_open() irq %d.
\n
"
,
dev
->
name
,
dev
->
irq
));
MOD_INC_USE_COUNT
;
if
(
request_irq
(
dev
->
irq
,
&
i596_interrupt
,
0
,
"i82596"
,
dev
))
{
if
(
request_irq
(
dev
->
irq
,
&
i596_interrupt
,
0
,
"i82596"
,
dev
))
{
printk
(
"%s: IRQ %d not free
\n
"
,
dev
->
name
,
dev
->
irq
);
printk
(
"%s: IRQ %d not free
\n
"
,
dev
->
name
,
dev
->
irq
);
goto
out
;
goto
out
;
...
@@ -1038,8 +1036,6 @@ static int i596_open(struct net_device *dev)
...
@@ -1038,8 +1036,6 @@ static int i596_open(struct net_device *dev)
remove_rx_bufs
(
dev
);
remove_rx_bufs
(
dev
);
free_irq
(
dev
->
irq
,
dev
);
free_irq
(
dev
->
irq
,
dev
);
out:
out:
MOD_DEC_USE_COUNT
;
return
-
EAGAIN
;
return
-
EAGAIN
;
}
}
...
...
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