remove useless checks in wlan_task
authorOleksij Rempel <linux@rempel-privat.de>
Mon, 22 Apr 2013 15:03:58 +0000 (17:03 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Mon, 22 Apr 2013 15:03:58 +0000 (17:03 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/magpie_fw_dev/target/init/init.c

index 54885b24b497b2f9fc76e82257f1d9d2bf822f23..b6e6a4456c8b860dee9575e945f74938f34994a8 100755 (executable)
@@ -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();
        }