From: Greg Kroah-Hartman Date: Mon, 27 Oct 2014 10:00:13 +0000 (+0800) Subject: greybus: module: remove unneeded XXX comment about module id values X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eec5883f5179367821ab5102be897231dc64fa62;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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);