qcacmn: Remove obsolete dmac_inv_range API

Remove obsolete dmac_inv_range API, instead use
qdf_mem_dma_sync_single_for_cpu API where ever required.
https://www.kernel.org/doc/Documentation/DMA-API-HOWTO.txt

Change-Id: I44f14e6c87c1086decc600f59f298b7b8a94bc82
CRs-Fixed: 2215678
此提交包含在:
Manjunathappa Prakash
2018-03-20 21:37:32 -07:00
提交者 nshrivas
父節點 03f2586d7f
當前提交 d345d27867
共有 2 個檔案被更改,包括 0 行新增39 行删除

查看文件

@@ -1797,31 +1797,6 @@ __qdf_nbuf_get_priv_ptr(struct sk_buff *skb)
return &skb->cb[8];
}
/**
* __qdf_invalidate_range() - invalidate virtual address range
* @start: start address of the address range
* @end: end address of the address range
*
* Note that this function does not write back the cache entries.
*
* Return: none
*/
#ifdef MSM_PLATFORM
static inline void __qdf_invalidate_range(void *start, void *end)
{
dmac_inv_range(start, end);
}
#else
static inline void __qdf_invalidate_range(void *start, void *end)
{
/* TODO figure out how to invalidate cache on x86 and other
* non-MSM platform
*/
pr_err("Cache invalidate not yet implemneted for non-MSM platforms\n");
}
#endif
/**
* __qdf_nbuf_mark_wakeup_frame() - mark wakeup frame.
* @buf: Pointer to nbuf