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
cc98907e
Commit
cc98907e
authored
Oct 21, 2002
by
Oliver Neukum
Committed by
Greg Kroah-Hartman
Oct 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: microtek driver - remove dead code
parent
236d8160
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
drivers/usb/image/microtek.c
drivers/usb/image/microtek.c
+1
-10
No files found.
drivers/usb/image/microtek.c
View file @
cc98907e
...
@@ -915,10 +915,6 @@ static int mts_usb_probe (struct usb_interface *intf,
...
@@ -915,10 +915,6 @@ static int mts_usb_probe (struct usb_interface *intf,
return
-
ENODEV
;
return
-
ENODEV
;
}
}
/* I don't understand the following fully (it's from usb-storage) -- John */
/* set the interface -- STALL is an acceptable response here */
result
=
usb_set_interface
(
dev
,
altsetting
->
bInterfaceNumber
,
0
);
result
=
usb_set_interface
(
dev
,
altsetting
->
bInterfaceNumber
,
0
);
MTS_DEBUG
(
"usb_set_interface returned %d.
\n
"
,
result
);
MTS_DEBUG
(
"usb_set_interface returned %d.
\n
"
,
result
);
...
@@ -927,11 +923,6 @@ static int mts_usb_probe (struct usb_interface *intf,
...
@@ -927,11 +923,6 @@ static int mts_usb_probe (struct usb_interface *intf,
case
0
:
/* no error */
case
0
:
/* no error */
break
;
break
;
case
-
EPIPE
:
usb_clear_halt
(
dev
,
usb_sndctrlpipe
(
dev
,
0
));
MTS_DEBUG
(
"clearing clearing stall on control interface
\n
"
);
break
;
default:
default:
MTS_DEBUG
(
"unknown error %d from usb_set_interface
\n
"
,
MTS_DEBUG
(
"unknown error %d from usb_set_interface
\n
"
,
(
int
)
result
);
(
int
)
result
);
...
...
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