staging: vc04_services: Remove unused variables in struct vchiq_arm_state
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Fri, 31 Jan 2020 10:38:17 +0000 (11:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Feb 2020 00:22:58 +0000 (16:22 -0800)
There are not being used, so we're better off without them.

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

index 19d2a2e..f004428 100644 (file)
@@ -53,8 +53,6 @@ struct vchiq_arm_state {
        enum vc_suspend_status vc_suspend_state;
        enum vc_resume_status vc_resume_state;
 
-       unsigned int wake_address;
-
        struct vchiq_state *state;
        struct timer_list suspend_timer;
        int suspend_timer_timeout;
@@ -80,19 +78,11 @@ struct vchiq_arm_state {
        struct completion blocked_blocker;
        int blocked_count;
 
-       int autosuspend_override;
-
        /* Flag to indicate that the first vchiq connect has made it through.
        ** This means that both sides should be fully ready, and we should
        ** be able to suspend after this point.
        */
        int first_connect;
-
-       unsigned long long suspend_start_time;
-       unsigned long long sleep_start_time;
-       unsigned long long resume_start_time;
-       unsigned long long last_wake_time;
-
 };
 
 struct vchiq_drvdata {