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 a7f72dba2e2036525b227cb2e02c36a1ba56235c..c18c6ca0b6c0d8cbe709f0cedf85d9adb32b2aa8 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 ef8340ab8a52ef5da6a246cbd577fa6cd31eb718..f135d55b29e57b1ed7ddb8278c2271822399f166 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 535a67cc68edc939beccb5f1d5813d992d079cc2..11037a4994082a7848df31146c7070a39a353f50 100644 (file)
@@ -638,9 +638,6 @@ vchiq_platform_conn_state_changed(struct vchiq_state *state,
                                  enum vchiq_connstate oldstate,
                                  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);