Messages in this thread |  | | Date | Fri, 14 Feb 2014 11:31:15 +0000 | From | Lee Jones <> | Subject | Re: [PATCH v2] mfd: wm8400-core: Remove unnecessary goto |
| |
> Return directly to avoid redundant lines of code. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > Acked-by: Lee Jones <lee.jones@linaro.org> > --- > Changes since v1: > Changed (wm8400 == NULL) -> (!wm8400) > --- > drivers/mfd/wm8400-core.c | 22 +++++----------------- > 1 file changed, 5 insertions(+), 17 deletions(-)
Nice little clean-up. Applied, thanks.
-- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |