]> git.baikalelectronics.ru Git - kernel.git/commit
dma: remove unnecessary null pointer check in mmp_pdma.c
authorCong Ding <dinggnu@gmail.com>
Tue, 15 Jan 2013 00:19:48 +0000 (01:19 +0100)
committerVinod Koul <vinod.koul@intel.com>
Sun, 20 Jan 2013 13:49:40 +0000 (05:49 -0800)
commit3a1f772c711e46c18ff64bf8624a181ff69d64be
treef4953c62c1a7a5dfa0cf21ecce89d35d0a55906c
parent1fdf632aeb3c3e46b9520ad17e0a6b9a15abd2cc
dma: remove unnecessary null pointer check in mmp_pdma.c

the pointer cfg is dereferenced in line 594, so it's no reason to check null
again in line 620.

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