commit | 01631243d712d41681d61c0556341a3329860c47 | [log] [tgz] |
---|---|---|
author | Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> | Wed Oct 12 09:38:35 2011 +0900 |
committer | Vinod Koul <vinod.koul@linux.intel.com> | Wed Oct 12 10:51:24 2011 +0530 |
tree | fcaa0e40b761b5cdd0dee64c658c6c69fa53ebc6 | |
parent | c43f1508686e8e4746012bf87995085eeb0f5307 [diff] |
pch_dma: Reduce wasting memory 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>