]> git.baikalelectronics.ru Git - kernel.git/commit
dma: mv_xor: Remove dead code
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 27 Aug 2014 13:52:54 +0000 (10:52 -0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 23 Sep 2014 14:47:01 +0000 (20:17 +0530)
commita4966c9233bb7ebd76dc456498face06e329c1a8
tree011d1895d4a2602e26ba75f874b8857bd2a81ac3
parent5845378c7f0ad55b2ca6e7fa12e41217541dfc4d
dma: mv_xor: Remove dead code

The driver currently defines the USE_TIMER macro, but the timer-feature
is never used in the code. The XOR and CRC32 results are never used.

The 'unmap_xxx' fields are no longer needed, they were made obsolete
in commit: 59a50f815778 dmaengine: remove DMA unmap from drivers.

Let's remove all this dead code.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mv_xor.c
drivers/dma/mv_xor.h