diff options
author | John Youn <johnyoun@synopsys.com> | 2016-03-01 01:53:35 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2016-03-04 13:14:48 (GMT) |
commit | 1fc659894994c7faa67e51a4b5a981ab4cf0f3a5 (patch) | |
tree | 56a9fda3a070f11fbc6dfa3ba1936dc5d63d79d4 /ipc/mqueue.c | |
parent | 6c0c0951bbf8c2c216675fe277fba4c42aa0a2bf (diff) | |
download | linux-1fc659894994c7faa67e51a4b5a981ab4cf0f3a5.tar.xz |
usb: dwc2: Fix issues in dwc2_complete_non_isoc_xfer_ddma()
Fixes a static analysis issue in dwc2_complete_non_isoc_xfer_ddma(). The
qtd was being passed to a function after being freed. It was not being
used in the function so this doesn't fix any bugs. But it fixes up the
warning and makes the code safer by setting qtd to NULL and not using it
at all.
Reported-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions