dma: sh/shdma-base.c: remove unnecessary null pointer check
authorCong Ding <dinggnu@gmail.com>
Tue, 15 Jan 2013 00:23:48 +0000 (01:23 +0100)
committerVinod Koul <vinod.koul@intel.com>
Sun, 20 Jan 2013 13:49:40 +0000 (05:49 -0800)
commit855372c013bbad8369223f7c75242bd3c94f9345
tree93ae6496fe982c599e0b67a1506fe71227c54626
parented30933e6f3dbeaaab1de91e1bec25f42d5d32df
dma: sh/shdma-base.c: remove unnecessary null pointer check

the variable chan is dereferenced in line 635, so it is no reason to check
null again in line 641.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/shdma-base.c