]> bbs.cooldavid.org Git - net-next-2.6.git/commit
dmaengine: kill tx_list
authorDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:53:04 +0000 (17:53 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:53:04 +0000 (17:53 -0700)
commit0803172778901e24a75ab074798d98c2b7411559
treea3e1d0cf4228d65dc1fac2ad56f3beb6b6f3474b
parent1979b186b80449ac6574d97c254b694c8a99b703
dmaengine: kill tx_list

The tx_list attribute of struct dma_async_tx_descriptor is common to
most, but not all dma driver implementations.  None of the upper level
code (dmaengine/async_tx) uses it, so allow drivers to implement it
locally if they need it.  This saves sizeof(struct list_head) bytes for
drivers that do not manage descriptors with a linked list (e.g.: ioatdma
v2,3).

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmaengine.c
include/linux/dmaengine.h