From 58f31812b0f42e821901343a12a589500912f2ad Mon Sep 17 00:00:00 2001 From: Sandhya Bankar Date: Sun, 6 Mar 2016 18:54:09 +0530 Subject: [PATCH] Staging: media: Remove unnecessary goto. Remove unnecessary goto. Signed-off-by: Sandhya Bankar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/media/bcm2048/radio-bcm2048.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c index 8fdf0ac4f287..abf330f92c0b 100644 --- a/drivers/staging/media/bcm2048/radio-bcm2048.c +++ b/drivers/staging/media/bcm2048/radio-bcm2048.c @@ -1828,17 +1828,14 @@ static int bcm2048_deinit(struct bcm2048_device *bdev) err = bcm2048_set_audio_route(bdev, 0); if (err < 0) - goto exit; + return err; err = bcm2048_set_dac_output(bdev, 0); if (err < 0) - goto exit; + return err; err = bcm2048_set_power_state(bdev, BCM2048_POWER_OFF); - if (err < 0) - goto exit; -exit: return err; } -- 2.39.5