usb: gadget: udc: remove pointer dereference after free
commit02197d86c56db3819832b1fb97aa86501d767c99
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Fri, 10 Mar 2017 21:39:32 +0000 (10 15:39 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Dec 2017 13:23:38 +0000 (25 14:23 +0100)
tree410bdb2dabd6dbbff4939c04adeeb326b87f8632
parent2b943bed33e78216eaf191173d0f23e622cd27ab
usb: gadget: udc: remove pointer dereference after free

[ Upstream commit 1f459262b0e1649a1e5ad12fa4c66eb76c2220ce ]

Remove pointer dereference after free.

Addresses-Coverity-ID: 1091173
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/pch_udc.c