lkml.org 
[lkml]   [2019]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] USB: gadget: function: fix issue Unneeded variable: "value"
From
Date
Hello!

On 07/01/2019 09:20 PM, Hariprasad Kelam wrote:

> fix below issue reported by coccicheck
> drivers/usb/gadget/function/f_eem.c:169:7-12: Unneeded variable:
> "value". Return "- EOPNOTSUPP" on line 179
>
> We can not change return type of eem_setup as its registed with callback

Registered.

> function
>
> Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
[...]

MBR, Sergei

\
 
 \ /
  Last update: 2019-07-01 20:23    [W:0.036 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site