From 4bb82458ec76edc6d2a91fd3b2d2daae44561443 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Mon, 16 Mar 2015 10:53:57 +0200 Subject: [PATCH] dmaengine: hsu: remove redundant pieces of code There are few places where the implemented pieces of code are not needed, i.e.: - direction can't be wrong in hsu_dma_chan_start() - desc->active set to 0 by kzalloc - DMAEngine is NULL-aware when call ->device_alloc_chan_resources() Signed-off-by: Andy Shevchenko Acked-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed