]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Staging: dwc2: remove a kfree(NULL)
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Mar 2013 06:03:31 +0000 (09:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 16:05:36 +0000 (09:05 -0700)
commit673f98ccacf6fdf1f023531c2782b3887bc664a3
tree597d38166cbda7b8bd05f76ad4797f5bb1ee9659
parent13b47d5f79f76293abda13c8b39570659bb9e9ca
Staging: dwc2: remove a kfree(NULL)

dwc2_hcd_release() calls dwc2_hcd_free() which frees ->core_params
and sets it to NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/hcd.c