Commit 49d07ccb authored by Nishka Dasgupta's avatar Nishka Dasgupta Committed by Greg Kroah-Hartman

staging: vc04_services: Remove vchiq_resume_internal()

Remove unused function vchiq_resume_internal.
Issue found with Coccinelle.
Signed-off-by: default avatarNishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a4013c64
...@@ -2830,22 +2830,6 @@ vchiq_shutdown_internal(struct vchiq_state *state, VCHIQ_INSTANCE_T instance) ...@@ -2830,22 +2830,6 @@ vchiq_shutdown_internal(struct vchiq_state *state, VCHIQ_INSTANCE_T instance)
return VCHIQ_SUCCESS; return VCHIQ_SUCCESS;
} }
VCHIQ_STATUS_T
vchiq_resume_internal(struct vchiq_state *state)
{
VCHIQ_STATUS_T status = VCHIQ_SUCCESS;
if (state->conn_state == VCHIQ_CONNSTATE_PAUSED) {
vchiq_set_conn_state(state, VCHIQ_CONNSTATE_RESUMING);
request_poll(state, NULL, 0);
} else {
status = VCHIQ_ERROR;
VCHIQ_STATS_INC(state, error_count);
}
return status;
}
VCHIQ_STATUS_T VCHIQ_STATUS_T
vchiq_close_service(VCHIQ_SERVICE_HANDLE_T handle) vchiq_close_service(VCHIQ_SERVICE_HANDLE_T handle)
{ {
......
...@@ -518,9 +518,6 @@ vchiq_free_service_internal(struct vchiq_service *service); ...@@ -518,9 +518,6 @@ vchiq_free_service_internal(struct vchiq_service *service);
extern VCHIQ_STATUS_T extern VCHIQ_STATUS_T
vchiq_shutdown_internal(struct vchiq_state *state, VCHIQ_INSTANCE_T instance); vchiq_shutdown_internal(struct vchiq_state *state, VCHIQ_INSTANCE_T instance);
extern VCHIQ_STATUS_T
vchiq_resume_internal(struct vchiq_state *state);
extern void extern void
remote_event_pollall(struct vchiq_state *state); remote_event_pollall(struct vchiq_state *state);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment