lkml.org 
[lkml]   [2015]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] gpio: of: remove unnecessary variable in of_get_gpio_hog()
From
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


\
 
 \ /
  Last update: 2015-07-15 12:01    [W:0.038 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site