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
28ec7579
Commit
28ec7579
authored
Mar 02, 2003
by
Chas Williams
Committed by
David S. Miller
Mar 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM SUNI]: suni_init should not be __init and remove mod inc/dec.
parent
20291389
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
drivers/atm/suni.c
drivers/atm/suni.c
+1
-4
No files found.
drivers/atm/suni.c
View file @
28ec7579
...
...
@@ -233,8 +233,6 @@ static int suni_start(struct atm_dev *dev)
if
(
!
(
PRIV
(
dev
)
=
kmalloc
(
sizeof
(
struct
suni_priv
),
GFP_KERNEL
)))
return
-
ENOMEM
;
MOD_INC_USE_COUNT
;
PRIV
(
dev
)
->
dev
=
dev
;
spin_lock_irqsave
(
&
sunis_lock
,
flags
);
first
=
!
sunis
;
...
...
@@ -280,7 +278,6 @@ static int suni_stop(struct atm_dev *dev)
spin_unlock_irqrestore
(
&
sunis_lock
,
flags
);
kfree
(
PRIV
(
dev
));
MOD_DEC_USE_COUNT
;
return
0
;
}
...
...
@@ -293,7 +290,7 @@ static const struct atmphy_ops suni_ops = {
};
int
__init
suni_init
(
struct
atm_dev
*
dev
)
int
suni_init
(
struct
atm_dev
*
dev
)
{
unsigned
char
mri
;
...
...
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