staging: vc04_services: Get rid of vchiq_platform_handle_timeout()
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Fri, 31 Jan 2020 10:38:26 +0000 (11:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Feb 2020 00:23:00 +0000 (16:23 -0800)
The function does nothing.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200131103836.14312-11-nsaenzjulienne@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h

index a7f72db..c18c6ca 100644 (file)
@@ -257,11 +257,6 @@ int vchiq_dump_platform_state(void *dump_context)
        return vchiq_dump(dump_context, buf, len + 1);
 }
 
-void
-vchiq_platform_handle_timeout(struct vchiq_state *state)
-{
-       (void)state;
-}
 /*
  * Local functions
  */
index ef8340a..f135d55 100644 (file)
@@ -1911,11 +1911,6 @@ slot_handler_func(void *v)
                                                "message");
                                }
                                break;
-
-                       case VCHIQ_CONNSTATE_PAUSE_TIMEOUT:
-                       case VCHIQ_CONNSTATE_RESUME_TIMEOUT:
-                               vchiq_platform_handle_timeout(state);
-                               break;
                        default:
                                break;
                        }
index 535a67c..11037a4 100644 (file)
@@ -639,9 +639,6 @@ vchiq_platform_conn_state_changed(struct vchiq_state *state,
                                  enum vchiq_connstate newstate);
 
 extern void
-vchiq_platform_handle_timeout(struct vchiq_state *state);
-
-extern void
 vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate);
 
 extern void