ath10k: kill static int max_delay
PATCH v2 1/1 ath10k: kill static int max_delay
Kill not used max_delay variable
Signed-off-by Janusz Dziedzic <[email protected]>
--- drivers/net/wireless/ath/ath10k/pci.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/net/wireless/ath/ath10k/pci.c +0 -4
@@ -431,7 +431,6 @@ void ath10k_do_pci_wake(struct ath10k *ar) {struct ath10k_pci *ar_pci =ath10k_pci_priv (ar);void __iomem *pci_addr = ar_pci->mem; -static int max_delay;int tot_delay =0 ;int curr_delay =5 ;
@@ -460,9 +459,6 @@ void ath10k_do_pci_wake(struct ath10k *ar)if (curr_delay <50 ) curr_delay +=5 ; } - -if (tot_delay > max_delay) - max_delay = tot_delay; }void ath10k_do_pci_sleep (struct ath10k *ar)
Signature · 1 line
1.7.9.5
Kalle Valo
AppliedPATCH v2 1/1 ath10k: kill static int max_delay
Quoted 3 lines · Janusz Dziedzic
Kill not used
max_delayvariableSigned-off-by Janusz Dziedzic <[email protected]>
Thanks, applied.
Signature · 1 line
Kalle Valo