summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/core.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-01-19 12:51:15 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-19 12:17:13 -0800
commit84427943d2da5f55d5cc83d83ba2a75c2079d1dd (patch)
treecc7cd788bfa50bf75ac86f185508eb31a429dbb4 /drivers/staging/greybus/core.c
parente217ae762bccb0ba0109887cefec3e20e5549a48 (diff)
greybus: svc: drop legacy-protocol dependency
Drop dependency on the legacy protocol abstraction. Remove the now unused and last legacy-protocol flag GB_PROTOCOL_SKIP_VERSION along with the protocol-flag feature. Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/core.c')
-rw-r--r--drivers/staging/greybus/core.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c
index 6674b2728f98..a72191f46751 100644
--- a/drivers/staging/greybus/core.c
+++ b/drivers/staging/greybus/core.c
@@ -234,12 +234,6 @@ static int __init gb_init(void)
goto error_operation;
}
- retval = gb_svc_protocol_init();
- if (retval) {
- pr_err("gb_svc_protocol_init failed\n");
- goto error_svc;
- }
-
retval = gb_firmware_protocol_init();
if (retval) {
pr_err("gb_firmware_protocol_init failed\n");
@@ -257,8 +251,6 @@ static int __init gb_init(void)
error_legacy:
gb_firmware_protocol_exit();
error_firmware:
- gb_svc_protocol_exit();
-error_svc:
gb_operation_exit();
error_operation:
gb_hd_exit();
@@ -275,7 +267,6 @@ static void __exit gb_exit(void)
{
gb_legacy_exit();
gb_firmware_protocol_exit();
- gb_svc_protocol_exit();
gb_operation_exit();
gb_hd_exit();
bus_unregister(&greybus_bus_type);