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>
This commit is contained in:
Родитель
1b4c4e98eb
Коммит
b5eebbf6a1
|
@ -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);
|
&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)
|
int gb_svc_intf_eject(struct gb_svc *svc, u8 intf_id)
|
||||||
{
|
{
|
||||||
struct gb_svc_intf_eject_request request;
|
struct gb_svc_intf_eject_request request;
|
||||||
|
|
|
@ -48,7 +48,6 @@ int gb_svc_add(struct gb_svc *svc);
|
||||||
void gb_svc_del(struct gb_svc *svc);
|
void gb_svc_del(struct gb_svc *svc);
|
||||||
void gb_svc_put(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,
|
int gb_svc_connection_create(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
|
||||||
u8 intf2_id, u16 cport2_id, u8 cport_flags);
|
u8 intf2_id, u16 cport2_id, u8 cport_flags);
|
||||||
void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
|
void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче