mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
atm: idt77252: Remove call to memset after dma_alloc_coherent
In commit 518a2f1925
("dma-mapping: zero memory returned from dma_alloc_*"),
dma_alloc_coherent has already zeroed the memory.
So memset is not needed.
Signed-off-by: Fuqian Huang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
071c37983d
commit
cef86f1536
1 changed files with 0 additions and 1 deletions
|
|
@ -1379,7 +1379,6 @@ init_tsq(struct idt77252_dev *card)
|
|||
printk("%s: can't allocate TSQ.\n", card->name);
|
||||
return -1;
|
||||
}
|
||||
memset(card->tsq.base, 0, TSQSIZE);
|
||||
|
||||
card->tsq.last = card->tsq.base + TSQ_NUM_ENTRIES - 1;
|
||||
card->tsq.next = card->tsq.last;
|
||||
|
|
|
|||
Loading…
Reference in a new issue