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
b57d04eb
Commit
b57d04eb
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: hpusbscsi - kill wrong error case
parent
fddc87bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/usb/image/hpusbscsi.c
drivers/usb/image/hpusbscsi.c
+1
-6
No files found.
drivers/usb/image/hpusbscsi.c
View file @
b57d04eb
...
...
@@ -31,7 +31,7 @@ struct list_head hpusbscsi_devices;
/* USB related parts */
static
int
hpusbscsi_usb_probe
(
struct
usb_interface
*
intf
,
hpusbscsi_usb_probe
(
struct
usb_interface
*
intf
,
const
struct
usb_device_id
*
id
)
{
struct
hpusbscsi
*
new
;
...
...
@@ -109,11 +109,6 @@ hpusbscsi_usb_probe (struct usb_interface *intf,
switch
(
result
)
{
case
0
:
/* no error */
break
;
case
-
EPIPE
:
usb_clear_halt
(
dev
,
usb_sndctrlpipe
(
dev
,
0
));
break
;
default:
printk
(
KERN_ERR
"unknown error %d from usb_set_interface
\n
"
,
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