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
60df6f76
Commit
60df6f76
authored
Aug 26, 2003
by
Daniele Bellucci
Committed by
Greg Kroah-Hartman
Aug 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Audit and minor cleanups in drivers/usb/*
- if usb_register fails report back its return code rather than -1
parent
1456ba1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
drivers/usb/media/se401.c
drivers/usb/media/se401.c
+1
-3
No files found.
drivers/usb/media/se401.c
View file @
60df6f76
...
@@ -1578,9 +1578,7 @@ static int __init usb_se401_init(void)
...
@@ -1578,9 +1578,7 @@ static int __init usb_se401_init(void)
info
(
"Invallid flickerless value, use 0, 50 or 60."
);
info
(
"Invallid flickerless value, use 0, 50 or 60."
);
return
-
1
;
return
-
1
;
}
}
if
(
usb_register
(
&
se401_driver
)
<
0
)
return
usb_register
(
&
se401_driver
);
return
-
1
;
return
0
;
}
}
static
void
__exit
usb_se401_exit
(
void
)
static
void
__exit
usb_se401_exit
(
void
)
...
...
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