Commit 00ace973 authored by Alex Elder's avatar Alex Elder Committed by Greg Kroah-Hartman

greybus: drop a redundant assignment

Get rid of a duplicate assignment of an interface's device id.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 96fd8c2b
...@@ -168,7 +168,6 @@ gb_module_interface_init(struct gb_module *gmod, u8 interface_id, u8 device_id) ...@@ -168,7 +168,6 @@ gb_module_interface_init(struct gb_module *gmod, u8 interface_id, u8 device_id)
/* XXX clear route */ /* XXX clear route */
return ret; return ret;
} }
interface->device_id = device_id;
return 0; return 0;
} }
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