From: Oleksij Rempel Date: Mon, 22 Apr 2013 15:03:58 +0000 (+0200) Subject: remove useless checks in wlan_task X-Git-Tag: 1.3.2~4^2~5 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=2fa716b3f523af0abb63d48f2fb7bbfb2e57cef3;p=open-ath9k-htc-firmware.git remove useless checks in wlan_task Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/magpie_fw_dev/target/init/init.c b/target_firmware/magpie_fw_dev/target/init/init.c index 54885b2..b6e6a44 100755 --- a/target_firmware/magpie_fw_dev/target/init/init.c +++ b/target_firmware/magpie_fw_dev/target/init/init.c @@ -379,17 +379,9 @@ void wlan_task(void) A_TASKLET_RUN(); A_TIMER_RUN(); - /* Low priority tasks */ - if ((loop_low & 0xf) == 0) { - } - /* Very low priority tasks */ - if ((loop_low & 0xfff) == 0x7) { - if ((loop_low & 0x1000) == 0) { - A_DBG_TASK(); - } else { - } - } + if ((loop_low & 0x1fff) == 0x7) + A_DBG_TASK(); idle_task(); }