Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170923308
D29898.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
347 B
Referenced Files
None
Subscribers
None
D29898.diff
View Options
diff --git a/sys/kern/subr_kobj.c b/sys/kern/subr_kobj.c
--- a/sys/kern/subr_kobj.c
+++ b/sys/kern/subr_kobj.c
@@ -112,7 +112,7 @@
/*
* First register any methods which need it.
*/
- for (i = 0, m = cls->methods; m->desc; i++, m++) {
+ for (m = cls->methods; m->desc; m++) {
if (m->desc->id == 0)
m->desc->id = kobj_next_id++;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 8, 3:20 PM (19 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38466965
Default Alt Text
D29898.diff (347 B)
Attached To
Mode
D29898: newbus: Optimize/Simplify kobj_class_compile_common a little
Attached
Detach File
Event Timeline
Log In to Comment