greybus: drop a redundant assignment
authorAlex Elder <elder@linaro.org>
Wed, 5 Nov 2014 22:03:09 +0000 (16:03 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 5 Nov 2014 22:12:25 +0000 (14:12 -0800)
Get rid of a duplicate assignment of an interface's device id.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/module.c

index 4c6e084..3a64a2b 100644 (file)
@@ -168,7 +168,6 @@ gb_module_interface_init(struct gb_module *gmod, u8 interface_id, u8 device_id)
                /* XXX clear route */
                return ret;
        }
-       interface->device_id = device_id;
 
        return 0;
 }