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

staging: vc04_services: Get rid of vchiq_platform_paused/resumed()



vchiq_platform_paused() and vchiq_platform_resumed() do nothing.

Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200131103836.14312-8-nsaenzjulienne@suse.de


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent be7fbad6
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -269,16 +269,6 @@ vchiq_platform_resume(struct vchiq_state *state)
	return VCHIQ_SUCCESS;
}

void
vchiq_platform_paused(struct vchiq_state *state)
{
}

void
vchiq_platform_resumed(struct vchiq_state *state)
{
}

int
vchiq_platform_videocore_wanted(struct vchiq_state *state)
{
+0 −3
Original line number Diff line number Diff line
@@ -1798,7 +1798,6 @@ parse_rx_slots(struct vchiq_state *state)
			}
			/* At this point slot_mutex is held */
			vchiq_set_conn_state(state, VCHIQ_CONNSTATE_PAUSED);
			vchiq_platform_paused(state);
			break;
		case VCHIQ_MSG_RESUME:
			vchiq_log_trace(vchiq_core_log_level,
@@ -1807,7 +1806,6 @@ parse_rx_slots(struct vchiq_state *state)
			/* Release the slot mutex */
			mutex_unlock(&state->slot_mutex);
			vchiq_set_conn_state(state, VCHIQ_CONNSTATE_CONNECTED);
			vchiq_platform_resumed(state);
			break;

		case VCHIQ_MSG_REMOTE_USE:
@@ -1908,7 +1906,6 @@ slot_handler_func(void *v)
					!= VCHIQ_RETRY) {
					vchiq_set_conn_state(state,
						VCHIQ_CONNSTATE_CONNECTED);
					vchiq_platform_resumed(state);
				} else {
					/* This should really be impossible,
					** since the PAUSE should have flushed
+0 −6
Original line number Diff line number Diff line
@@ -593,15 +593,9 @@ remote_event_signal(struct remote_event *event);
void
vchiq_platform_check_suspend(struct vchiq_state *state);

extern void
vchiq_platform_paused(struct vchiq_state *state);

extern enum vchiq_status
vchiq_platform_resume(struct vchiq_state *state);

extern void
vchiq_platform_resumed(struct vchiq_state *state);

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