1 From 5f82c6ff69f3a4bb635e619a893292bea711421e Mon Sep 17 00:00:00 2001
2 From: Janani Ravichandran <janani.rvchndrn@gmail.com>
3 Date: Thu, 18 Feb 2016 17:22:50 -0500
4 Subject: [PATCH 157/226] staging: fsl-mc: Remove unneeded else following a
7 Remove unnecessary else when there is a return statement in the
8 corresponding if block. Coccinelle patch used:
14 if (e1) { ... return ...; }
24 if(e2) { ... return ...; }
28 Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
29 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 drivers/staging/fsl-mc/bus/mc-bus.c | 3 +--
32 1 file changed, 1 insertion(+), 2 deletions(-)
34 --- a/drivers/staging/fsl-mc/bus/mc-bus.c
35 +++ b/drivers/staging/fsl-mc/bus/mc-bus.c
36 @@ -248,8 +248,7 @@ static bool fsl_mc_is_root_dprc(struct d
37 fsl_mc_get_root_dprc(dev, &root_dprc_dev);
41 - return dev == root_dprc_dev;
42 + return dev == root_dprc_dev;
45 static int get_dprc_icid(struct fsl_mc_io *mc_io,