]> Pileus Git - ~andy/linux/commit
dmaengine: mmp_pdma: fix mismerge
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Jan 2014 20:45:38 +0000 (21:45 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 29 Jan 2014 12:08:57 +0000 (17:38 +0530)
commit15cec530e4bc7bed3f51cde8404f96fd28a8c7c5
tree731235fab2ca0bef5ef782deeb8d1421cf39dbb4
parent6d05c9fabfdc8642b42a1000cd092b2a7543d85f
dmaengine: mmp_pdma: fix mismerge

The merge between 2b7f65b11d87f "mmp_pdma: Style neatening" and
8010dad55a0ab0 "dma: add dma_get_any_slave_channel(), for use in of_xlate()"
caused a build error by leaving obsolete code in place:

  mmp_pdma.c: In function 'mmp_pdma_dma_xlate':
  mmp_pdma.c:909:31: error: 'candidate' undeclared
  mmp_pdma.c:912:3: error: label 'retry' used but not defined
  mmp_pdma.c:901:24: warning: unused variable 'c' [-Wunused-variable]

This removes the extraneous lines.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_pdma.c