usb: gadget: udc: remove pointer dereference after free
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Fri, 10 Mar 2017 21:39:32 +0000 (15:39 -0600)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 22 Mar 2017 09:21:10 +0000 (11:21 +0200)
commit1f459262b0e1649a1e5ad12fa4c66eb76c2220ce
treea1b8add29f385a1146e3b995839d8994f5554e0b
parent16bb05d98c904a4f6c5ce7e2d992299f794acbf2
usb: gadget: udc: remove pointer dereference after free

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>
drivers/usb/gadget/udc/pch_udc.c