From: Mark Einon Date: Sun, 14 Sep 2014 15:59:04 +0000 (+0100) Subject: staging: et131x: Fix 'else is not generally useful after a break or return' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d855b8935e211b285aa6eb3d42e2ea810b03e043;p=linux-beck.git staging: et131x: Fix 'else is not generally useful after a break or return' Fix this checkpatch warning: WARNING: else is not generally useful after a break or return Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index 69f414033ba2..df31fee965e0 100644 --- a/drivers/staging/et131x/et131x.c +++ b/drivers/staging/et131x/et131x.c @@ -1529,8 +1529,8 @@ static int et131x_mdio_read(struct mii_bus *bus, int phy_addr, int reg) if (ret < 0) return ret; - else - return value; + + return value; } static int et131x_mdio_write(struct mii_bus *bus, int phy_addr,