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
d33008a0
Commit
d33008a0
authored
Apr 10, 2003
by
Oliver Neukum
Committed by
Greg Kroah-Hartman
Apr 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: remove configuration change from pegasus.c
the driver should not mess with configurations here.
parent
9adec06c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
drivers/usb/net/pegasus.c
drivers/usb/net/pegasus.c
+0
-4
No files found.
drivers/usb/net/pegasus.c
View file @
d33008a0
...
@@ -1171,10 +1171,6 @@ static int pegasus_probe(struct usb_interface *intf,
...
@@ -1171,10 +1171,6 @@ static int pegasus_probe(struct usb_interface *intf,
pegasus_t
*
pegasus
;
pegasus_t
*
pegasus
;
int
dev_index
=
id
-
pegasus_ids
;
int
dev_index
=
id
-
pegasus_ids
;
if
(
usb_set_configuration
(
dev
,
dev
->
config
[
0
].
desc
.
bConfigurationValue
))
{
err
(
"usb_set_configuration() failed"
);
return
-
ENODEV
;
}
if
(
!
(
pegasus
=
kmalloc
(
sizeof
(
struct
pegasus
),
GFP_KERNEL
)))
{
if
(
!
(
pegasus
=
kmalloc
(
sizeof
(
struct
pegasus
),
GFP_KERNEL
)))
{
err
(
"out of memory allocating device structure"
);
err
(
"out of memory allocating device structure"
);
return
-
ENOMEM
;
return
-
ENOMEM
;
...
...
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