From: Andy Shevchenko Date: Mon, 16 Mar 2015 08:53:57 +0000 (+0200) Subject: dmaengine: hsu: remove redundant pieces of code X-Git-Tag: omap-for-v4.2/o2_dc~64^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bb82458ec76edc6d2a91fd3b2d2daae44561443;p=pandora-kernel.git 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-diff-tree failed