summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/module.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2014-10-27 11:00:13 +0100
committerGreg Kroah-Hartman2014-10-27 11:00:13 +0100
commiteec5883f5179367821ab5102be897231dc64fa62 (patch)
tree9007d909a45c494ccdbc154b3a245fc073b3ef0c /drivers/staging/greybus/module.c
parentgreybus: FIXME/XXX removals: We have proper reference counting now (diff)
downloadkernel-qcow2-linux-eec5883f5179367821ab5102be897231dc64fa62.tar.gz
kernel-qcow2-linux-eec5883f5179367821ab5102be897231dc64fa62.tar.xz
kernel-qcow2-linux-eec5883f5179367821ab5102be897231dc64fa62.zip
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>
Diffstat (limited to 'drivers/staging/greybus/module.c')
-rw-r--r--drivers/staging/greybus/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/module.c b/drivers/staging/greybus/module.c
index 54e8f9e68d25..f65aea680be7 100644
--- a/drivers/staging/greybus/module.c
+++ b/drivers/staging/greybus/module.c
@@ -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);