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
d009dec1
Commit
d009dec1
authored
Dec 27, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: fix kaweth driver which was accessing the struct usb_device refcnt variable directly.
parent
b14d209d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
drivers/usb/net/kaweth.c
drivers/usb/net/kaweth.c
+0
-5
No files found.
drivers/usb/net/kaweth.c
View file @
d009dec1
...
...
@@ -612,8 +612,6 @@ static int kaweth_open(struct net_device *net)
struct
kaweth_device
*
kaweth
=
(
struct
kaweth_device
*
)
net
->
priv
;
int
res
;
kaweth_dbg
(
"Dev usage: %d"
,
kaweth
->
dev
->
refcnt
.
counter
);
kaweth_dbg
(
"Opening network device."
);
res
=
kaweth_resubmit_rx_urb
(
kaweth
,
GFP_KERNEL
);
...
...
@@ -658,9 +656,6 @@ static int kaweth_close(struct net_device *net)
kaweth
->
status
&=
~
KAWETH_STATUS_CLOSING
;
printk
(
"Dev usage: %d"
,
kaweth
->
dev
->
refcnt
.
counter
);
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