MLK-11913 dma: pxp-v3: remove some duplicate dead code
authorFancy Fang <chen.fang@freescale.com>
Fri, 27 Nov 2015 02:21:27 +0000 (10:21 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:15 +0000 (14:49 -0500)
commitc64f11688332dcb8e50cfb346242fd959d14b3b1
tree53fb696d62a241313f3a75a7dc2645501301c9bd
parentc6b6b161bfd72bb18f9b3210cde5f822077097a5
MLK-11913 dma: pxp-v3: remove some duplicate dead code

The code slice in the pxp_probe() function:
"
       if (!res || irq < 0) {
               err = -ENODEV;
               goto exit;
       }
"
appears twice closely. And the second code slice will become
dead code which is never executed. So remove the second one.

Signed-off-by: Fancy Fang <chen.fang@freescale.com>
drivers/dma/pxp/pxp_dma_v3.c