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
b3652f38
Commit
b3652f38
authored
May 08, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SKFDDI]: Use SET_MODULE_OWNER.
parent
e2b02cb4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/net/skfp/skfddi.c
drivers/net/skfp/skfddi.c
+2
-4
No files found.
drivers/net/skfp/skfddi.c
View file @
b3652f38
...
...
@@ -539,6 +539,8 @@ static void init_dev(struct net_device *dev, u_long iobase)
dev
->
header_cache_update
=
NULL
;
/* not supported */
dev
->
change_mtu
=
NULL
;
/* set in fddi_setup() */
SET_MODULE_OWNER
(
dev
);
/* Initialize remaining device structure information */
fddi_setup
(
dev
);
}
// init_device
...
...
@@ -791,8 +793,6 @@ static int skfp_open(struct net_device *dev)
smt_online
(
smc
,
1
);
STI_FBI
();
MOD_INC_USE_COUNT
;
/* Clear local multicast address tables */
mac_clear_multicast
(
smc
);
...
...
@@ -854,8 +854,6 @@ static int skfp_close(struct net_device *dev)
dev_kfree_skb
(
skb
);
}
MOD_DEC_USE_COUNT
;
return
(
0
);
}
// skfp_close
...
...
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