dmaengine: sun6i: Remove useless check
authorJean-Francois Moine <moinejf@free.fr>
Thu, 28 Apr 2016 15:09:14 +0000 (17:09 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 May 2016 10:29:02 +0000 (15:59 +0530)
commit3435fb18533c27b288c19cfb7fe783e5433e36aa
tree5793c05d586666f91f7b854447eade7180950a87
parenta4eb36b02c596b9b91b22c6ef83f92397feb9250
dmaengine: sun6i: Remove useless check

The transfer direction is now checked in set_config.
There is no need to check it twice.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c