wifi: update bcmdhd.1.579.77.41.1.cn from ampak[3/3]
[GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_dhd-driver.git] / bcmdhd.1.579.77.41.1.cn / linux_osl.c
index b0d8798f5ea37166210b791a8613af674fc6147a..908119e23d1116bcab9b46887b338fe6c7e7b632 100644 (file)
@@ -2696,6 +2696,7 @@ osl_pkt_orphan_partial(struct sk_buff *skb, int tsq)
 /* timer apis */
 /* Note: All timer api's are thread unsafe and should be protected with locks by caller */
 
+#ifdef REPORT_FATAL_TIMEOUTS
 osl_timer_t *
 osl_timer_init(osl_t *osh, const char *name, void (*fn)(void *arg), void *arg)
 {
@@ -2780,3 +2781,4 @@ osl_timer_del(osl_t *osh, osl_timer_t *t)
        }
        return (TRUE);
 }
+#endif