Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1184556

Re: [PATCH v2] gpio: of: remove unnecessary variable in of_get_gpio_hog()

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] gpio: of: remove unnecessary variable in of_get_gpio_hog()
Date 2015-07-15 11:50 +0200
Message-ID <pMrub-3G9-37@gated-at.bofh.it> (permalink)
References <pLWTn-47Z-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 14, 2015 at 3:01 AM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:

> The variable "desc" is only used for storing the return value at the
> end of the function.  It is unneeded.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Acked-by: Alexandre Courbot <acourbot@nvidia.com>

Patch applied.

Yours,
Linus Walleij
--
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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2] gpio: of: remove unnecessary variable in of_get_gpio_hog() Linus Walleij <linus.walleij@linaro.org> - 2015-07-15 11:50 +0200

csiph-web