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
88b76130
Commit
88b76130
authored
May 21, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB stv680, remove urb->next usage
Removed the use of the next field due to the change in the urb structure.
parent
e627fe14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
drivers/usb/media/stv680.c
drivers/usb/media/stv680.c
+0
-2
No files found.
drivers/usb/media/stv680.c
View file @
88b76130
...
@@ -799,7 +799,6 @@ static int stv680_stop_stream (struct usb_stv *stv680)
...
@@ -799,7 +799,6 @@ static int stv680_stop_stream (struct usb_stv *stv680)
for
(
i
=
0
;
i
<
STV680_NUMSBUF
;
i
++
)
for
(
i
=
0
;
i
<
STV680_NUMSBUF
;
i
++
)
if
(
stv680
->
urb
[
i
])
{
if
(
stv680
->
urb
[
i
])
{
stv680
->
urb
[
i
]
->
next
=
NULL
;
usb_unlink_urb
(
stv680
->
urb
[
i
]);
usb_unlink_urb
(
stv680
->
urb
[
i
]);
usb_free_urb
(
stv680
->
urb
[
i
]);
usb_free_urb
(
stv680
->
urb
[
i
]);
stv680
->
urb
[
i
]
=
NULL
;
stv680
->
urb
[
i
]
=
NULL
;
...
@@ -1516,7 +1515,6 @@ static inline void usb_stv680_remove_disconnected (struct usb_stv *stv680)
...
@@ -1516,7 +1515,6 @@ static inline void usb_stv680_remove_disconnected (struct usb_stv *stv680)
for
(
i
=
0
;
i
<
STV680_NUMSBUF
;
i
++
)
for
(
i
=
0
;
i
<
STV680_NUMSBUF
;
i
++
)
if
(
stv680
->
urb
[
i
])
{
if
(
stv680
->
urb
[
i
])
{
stv680
->
urb
[
i
]
->
next
=
NULL
;
usb_unlink_urb
(
stv680
->
urb
[
i
]);
usb_unlink_urb
(
stv680
->
urb
[
i
]);
usb_free_urb
(
stv680
->
urb
[
i
]);
usb_free_urb
(
stv680
->
urb
[
i
]);
stv680
->
urb
[
i
]
=
NULL
;
stv680
->
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