From: Nicolas Saenz Julienne Date: Fri, 31 Jan 2020 10:38:17 +0000 (+0100) Subject: staging: vc04_services: Remove unused variables in struct vchiq_arm_state X-Git-Tag: v5.7-rc1~190^2~308 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=361906387c7decfe99d4a99d6218c39f47c56406;p=thirdparty%2Fkernel%2Flinux.git staging: vc04_services: Remove unused variables in struct vchiq_arm_state There are not being used, so we're better off without them. Signed-off-by: Nicolas Saenz Julienne Link: https://lore.kernel.org/r/20200131103836.14312-2-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h index 19d2a2eefb6a4..f0044289b6bce 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h @@ -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 {