USB: gadget: function: fix issue Unneeded variable: "value"
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Mon, 1 Jul 2019 18:32:41 +0000 (00:02 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 3 Jul 2019 07:58:44 +0000 (10:58 +0300)
commitd2d06c18d78ed4aa969ceac33bcfdcc524668424
tree1abe6c4ba9c7eae88f21b2049bf00db9a23e299c
parent99e8232b5f3ae18208930775dc8c5821c6f9384a
USB: gadget: function: fix issue Unneeded variable: "value"

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 registered with callback
function

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_eem.c