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

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

index c147d94784ebdbbae9ff0ac3247c9148fb311bc7..7c620366dfb641fb1f6bf795aff2fd53595c0084 100644 (file)
@@ -2962,12 +2962,6 @@ out:
        return ret;
 }
 
-/* stub functions */
-void vchiq_on_remote_use_active(struct vchiq_state *state)
-{
-       (void)state;
-}
-
 void vchiq_platform_conn_state_changed(struct vchiq_state *state,
                                       enum vchiq_connstate oldstate,
                                       enum vchiq_connstate newstate)
index f135d55b29e57b1ed7ddb8278c2271822399f166..c5493dee6dd787df7ebafc8dd7e7cc8386db415d 100644 (file)
@@ -1815,7 +1815,6 @@ parse_rx_slots(struct vchiq_state *state)
                        vchiq_on_remote_release(state);
                        break;
                case VCHIQ_MSG_REMOTE_USE_ACTIVE:
-                       vchiq_on_remote_use_active(state);
                        break;
 
                default: