summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/keyspan.h
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-10-25 08:29:13 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-25 16:37:04 (GMT)
commita8f2ae7a3aa59079d7e7e1ddf5007f03532f458c (patch)
tree4f0a989c4f77bc95b58566c10ad19d994a0036ec /drivers/usb/serial/keyspan.h
parentacbf0e5263de563e25f7c104868e4490b9e72b13 (diff)
downloadlinux-fsl-qoriq-a8f2ae7a3aa59079d7e7e1ddf5007f03532f458c.tar.xz
USB: mct_u232: fix port-data memory leak
Fix port-data memory leak by moving port data allocation and deallocation to port_probe and port_remove. Since commit 0998d0631001288 (device-core: Ensure drvdata = NULL when no driver is bound) the port private data is no longer freed at release as it is no longer accessible. Note that the write waitqueue was initialised but never used. Compile-only tested. Cc: <stable@vger.kernel.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/keyspan.h')
0 files changed, 0 insertions, 0 deletions