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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6507cced6b
commit
eec5883f51
@ -82,7 +82,7 @@ struct gb_module *gb_module_create(struct greybus_host_device *hd, u8 module_id)
|
||||
return NULL;
|
||||
|
||||
gmod->hd = hd; /* XXX refcount? */
|
||||
gmod->module_id = module_id; /* XXX check for dups */
|
||||
gmod->module_id = module_id;
|
||||
INIT_LIST_HEAD(&gmod->interfaces);
|
||||
|
||||
spin_lock_irq(&gb_modules_lock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user