mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-28 04:18:49 -04:00
staging: vc04_services: Delete vchiq_platform_check_suspend()
The function does nothing. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200131103836.14312-20-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b2a86ecd8f
commit
aca055ed40
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user