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
e627fe14
Commit
e627fe14
authored
May 21, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB se401, remove urb->next usage
Removed the use of the next field due to the change in the urb structure.
parent
d94cad34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
drivers/usb/media/se401.c
drivers/usb/media/se401.c
+0
-2
No files found.
drivers/usb/media/se401.c
View file @
e627fe14
...
...
@@ -632,7 +632,6 @@ static int se401_stop_stream(struct usb_se401 *se401)
se401_sndctrl
(
1
,
se401
,
SE401_REQ_CAMERA_POWER
,
0
,
NULL
,
0
);
for
(
i
=
0
;
i
<
SE401_NUMSBUF
;
i
++
)
if
(
se401
->
urb
[
i
])
{
se401
->
urb
[
i
]
->
next
=
NULL
;
usb_unlink_urb
(
se401
->
urb
[
i
]);
usb_free_urb
(
se401
->
urb
[
i
]);
se401
->
urb
[
i
]
=
NULL
;
...
...
@@ -1506,7 +1505,6 @@ static inline void usb_se401_remove_disconnected (struct usb_se401 *se401)
wake_up_interruptible
(
&
se401
->
wq
);
for
(
i
=
0
;
i
<
SE401_NUMSBUF
;
i
++
)
if
(
se401
->
urb
[
i
])
{
se401
->
urb
[
i
]
->
next
=
NULL
;
usb_unlink_urb
(
se401
->
urb
[
i
]);
usb_free_urb
(
se401
->
urb
[
i
]);
se401
->
urb
[
i
]
=
NULL
;
...
...
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