Fix this checkpatch warning: WARNING: else is not generally useful after a break or return
Signed-off-by: Mark Einon <mark.ei...@gmail.com> --- drivers/staging/et131x/et131x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index c158b01..d5c19f5 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, -- 2.1.0 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel