mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
watchdog: intel_scu_watchdog: Remove unused variable
Variable "hw_pre_value" is not used anywhere in the function intel_scu_set_heartbeat(). This patch removes this variable. Signed-off-by: Alexander Shiyan <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
0c29c2e850
commit
c303ca8765
1 changed files with 1 additions and 3 deletions
|
|
@ -211,7 +211,6 @@ static int intel_scu_set_heartbeat(u32 t)
|
|||
int ipc_ret;
|
||||
int retry_count;
|
||||
u32 soft_value;
|
||||
u32 hw_pre_value;
|
||||
u32 hw_value;
|
||||
|
||||
watchdog_device.timer_set = t;
|
||||
|
|
@ -273,8 +272,7 @@ static int intel_scu_set_heartbeat(u32 t)
|
|||
watchdog_device.timer_load_count_addr);
|
||||
|
||||
/* read count value before starting timer */
|
||||
hw_pre_value = ioread32(watchdog_device.timer_load_count_addr);
|
||||
hw_pre_value = hw_pre_value & 0xFFFF0000;
|
||||
ioread32(watchdog_device.timer_load_count_addr);
|
||||
|
||||
/* Start the timer */
|
||||
iowrite32(0x00000003, watchdog_device.timer_control_addr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue