diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c index 6a8da0dd9f33..ca1d4826ca9c 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; diff --git a/drivers/staging/greybus/svc.h b/drivers/staging/greybus/svc.h index 2f23bc081f82..519d2f39aa02 100644 --- a/drivers/staging/greybus/svc.h +++ b/drivers/staging/greybus/svc.h @@ -48,7 +48,6 @@ int gb_svc_add(struct gb_svc *svc); void gb_svc_del(struct gb_svc *svc); void gb_svc_put(struct gb_svc *svc); -int gb_svc_intf_reset(struct gb_svc *svc, u8 intf_id); int gb_svc_connection_create(struct gb_svc *svc, u8 intf1_id, u16 cport1_id, u8 intf2_id, u16 cport2_id, u8 cport_flags); void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,