git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c43f150
)
pch_dma: Reduce wasting memory
author
Tomoya MORINAGA
<tomoya-linux@dsn.lapis-semi.com>
Wed, 12 Oct 2011 00:38:35 +0000
(09:38 +0900)
committer
Vinod Koul
<vinod.koul@linux.intel.com>
Wed, 12 Oct 2011 05:21:24 +0000
(10:51 +0530)
nr_channels is defined in "struct pch_dma".
and struct pch_dma_chan is defined in "struct pch_dma".
So, "sizeof(struct pch_dma_chan) * nr_channels" is unnecessary.
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
No differences found