Commit aca055ed authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Greg Kroah-Hartman
Browse files

staging: vc04_services: Delete vchiq_platform_check_suspend()

parent b2a86ecd
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -2345,21 +2345,6 @@ vchiq_arm_init_state(struct vchiq_state *state,
	return VCHIQ_SUCCESS;
}

void
vchiq_platform_check_suspend(struct vchiq_state *state)
{
	struct vchiq_arm_state *arm_state = vchiq_platform_get_arm_state(state);

	if (!arm_state)
		goto out;

	vchiq_log_trace(vchiq_susp_log_level, "%s", __func__);

out:
	vchiq_log_trace(vchiq_susp_log_level, "%s exit", __func__);
	return;
}

enum vchiq_status
vchiq_use_internal(struct vchiq_state *state, struct vchiq_service *service,
		   enum USE_TYPE_E use_type)
+0 −3
Original line number Diff line number Diff line
@@ -1866,9 +1866,6 @@ slot_handler_func(void *v)

		DEBUG_TRACE(SLOT_HANDLER_LINE);
		if (state->poll_needed) {
			/* Check if we need to suspend - may change our
			 * conn_state */
			vchiq_platform_check_suspend(state);

			state->poll_needed = 0;

+0 −3
Original line number Diff line number Diff line
@@ -590,9 +590,6 @@ vchiq_complete_bulk(struct vchiq_bulk *bulk);
extern void
remote_event_signal(struct remote_event *event);

void
vchiq_platform_check_suspend(struct vchiq_state *state);

extern int
vchiq_dump(void *dump_context, const char *str, int len);