Re: [PATCH] USB: gadget: function: fix issue Unneeded variable: "value"

From: Sergei Shtylyov
Date: Mon Jul 01 2019 - 14:22:16 EST


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@xxxxxxxxx>
[...]

MBR, Sergei