summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/bundle.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-07-01 12:13:57 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-07-01 16:38:42 -0700
commit7e9017d482a2678ed32e7f60e6bfea10bab2dfa1 (patch)
tree6ef12b1a1928e8605cf9a7c9d99fef53bf24509b /drivers/staging/greybus/bundle.c
parentc3a1617099cb57da038297cfc40abedb1fe7a287 (diff)
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>
Diffstat (limited to 'drivers/staging/greybus/bundle.c')
-rw-r--r--drivers/staging/greybus/bundle.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/greybus/bundle.c b/drivers/staging/greybus/bundle.c
index a5172e5f64b2..e636230144c7 100644
--- a/drivers/staging/greybus/bundle.c
+++ b/drivers/staging/greybus/bundle.c
@@ -236,12 +236,6 @@ int gb_bundle_init(struct gb_bundle *bundle, u8 device_id)
bundle->device_id = device_id;
- ret = svc_set_route_send(bundle, intf->hd);
- if (ret) {
- dev_err(intf->hd->parent, "failed to set route (%d)\n", ret);
- return ret;
- }
-
ret = gb_bundle_connections_init(bundle);
if (ret) {
dev_err(intf->hd->parent, "interface bundle init error %d\n",