greybus: interface: gb_interface_create() isn't called for existing interfaces
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 23 Sep 2015 23:48:11 +0000 (16:48 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 24 Sep 2015 22:25:03 +0000 (15:25 -0700)
commit78cd67777b71f38dec710dc26f48b685ef6cf120
tree3b574a51b0f23c9b9d208cff38327fc6aabe2384
parent80d1ede88ab081bd901bd5b3dc2461083915d1d1
greybus: interface: gb_interface_create() isn't called for existing interfaces

The callers are ensuring that another interface doesn't exist with the
same interface id and so there is no need to check that from
gb_interface_create() anymore.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/interface.c