diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-03-29 18:55:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-30 14:17:40 -0700 |
commit | b5eebbf6a1f15273ce100ea14c9339d26c44e546 (patch) | |
tree | 6fdb1946faeae7865a765b4ec108c927f48ac053 /drivers/staging/greybus/svc.c | |
parent | 1b4c4e98eb9dcf0dbe4d940c4485e81de64b0325 (diff) | |
download | op-kernel-dev-b5eebbf6a1f15273ce100ea14c9339d26c44e546.zip op-kernel-dev-b5eebbf6a1f15273ce100ea14c9339d26c44e546.tar.gz |
greybus: svc: remove bogus interface-reset helper
Remove unused, bogus interface-reset helper.
The interface-reset operation is initiated by the SVC, not the AP.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/svc.c')
-rw-r--r-- | drivers/staging/greybus/svc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c index 6a8da0d..ca1d482 100644 --- a/drivers/staging/greybus/svc.c +++ b/drivers/staging/greybus/svc.c @@ -119,17 +119,6 @@ static int gb_svc_intf_device_id(struct gb_svc *svc, u8 intf_id, u8 device_id) &request, sizeof(request), NULL, 0); } -int gb_svc_intf_reset(struct gb_svc *svc, u8 intf_id) -{ - struct gb_svc_intf_reset_request request; - - request.intf_id = intf_id; - - return gb_operation_sync(svc->connection, GB_SVC_TYPE_INTF_RESET, - &request, sizeof(request), NULL, 0); -} -EXPORT_SYMBOL_GPL(gb_svc_intf_reset); - int gb_svc_intf_eject(struct gb_svc *svc, u8 intf_id) { struct gb_svc_intf_eject_request request; |