OSDN Git Service

greybus: svc: Drop svc_set_route_send()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 1 Jul 2015 06:43:57 +0000 (12:13 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 1 Jul 2015 23:38:42 +0000 (16:38 -0700)
commit7e9017d482a2678ed32e7f60e6bfea10bab2dfa1
tree6ef12b1a1928e8605cf9a7c9d99fef53bf24509b
parentc3a1617099cb57da038297cfc40abedb1fe7a287
greybus: svc: Drop svc_set_route_send()

The responsibility of this routine is to configure ARA switch to
establish a connection between a cport on the AP and a cport on an
interface.

The SVC protocol is responsible for such requests and we already have
connection_{create|destroy}_operation() to take care of this.

Moreover, this request is not served by the firmware or gbsim today and
they just print a debug message on this request. And so it is safe to
drop svc_set_route_send() function and fix the required functionality of
configuring the switch in svc protocol driver later.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/ap.c
drivers/staging/greybus/bundle.c
drivers/staging/greybus/greybus.h