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
nexedi
linux
Commits
cc7218d8
Commit
cc7218d8
authored
May 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] driver core: remove unneeded line in class code.
Thanks to Jonathan Corbet for pointing this out.
parent
9231a222
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
drivers/base/class.c
drivers/base/class.c
+0
-1
No files found.
drivers/base/class.c
View file @
cc7218d8
...
...
@@ -259,7 +259,6 @@ int class_device_add(struct class_device *class_dev)
/* first, register with generic layer. */
strncpy
(
class_dev
->
kobj
.
name
,
class_dev
->
class_id
,
KOBJ_NAME_LEN
);
kobj_set_kset_s
(
class_dev
,
class_subsys
);
kobj_set_kset_s
(
class_dev
,
class_obj_subsys
);
if
(
parent
)
class_dev
->
kobj
.
parent
=
&
parent
->
subsys
.
kset
.
kobj
;
...
...
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