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
bf8f9a5d
Commit
bf8f9a5d
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 sun3lance
parent
bfdc815e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
drivers/net/sun3lance.c
drivers/net/sun3lance.c
+0
-3
No files found.
drivers/net/sun3lance.c
View file @
bf8f9a5d
...
...
@@ -430,7 +430,6 @@ static int lance_open( struct net_device *dev )
netif_start_queue
(
dev
);
DPRINTK
(
2
,
(
"%s: LANCE is open, csr0 %04x
\n
"
,
dev
->
name
,
DREG
));
MOD_INC_USE_COUNT
;
return
(
0
);
}
...
...
@@ -883,8 +882,6 @@ static int lance_close( struct net_device *dev )
/* We stop the LANCE here -- it occasionally polls
memory if we don't. */
DREG
=
CSR0_STOP
;
MOD_DEC_USE_COUNT
;
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