Commit eec5883f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: module: remove unneeded XXX comment about module id values

We do properly check for duplicate module ids, as fixed in
008d85d90ae1ab31f1f7b80f245f6ee2eb5aed49 "module: don't create duplicate
module ids", so remove the XXX marker.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6507cced
...@@ -82,7 +82,7 @@ struct gb_module *gb_module_create(struct greybus_host_device *hd, u8 module_id) ...@@ -82,7 +82,7 @@ struct gb_module *gb_module_create(struct greybus_host_device *hd, u8 module_id)
return NULL; return NULL;
gmod->hd = hd; /* XXX refcount? */ gmod->hd = hd; /* XXX refcount? */
gmod->module_id = module_id; /* XXX check for dups */ gmod->module_id = module_id;
INIT_LIST_HEAD(&gmod->interfaces); INIT_LIST_HEAD(&gmod->interfaces);
spin_lock_irq(&gb_modules_lock); spin_lock_irq(&gb_modules_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment