USB: apple-mfi-fastcharge: Fix kfree after failed kzalloc

kfree don't need to be called after a failed kzalloc

Signed-off-by: Lucas Tanure <tanure@linux.com>
Link: https://lore.kernel.org/r/20201115102837.331335-1-tanure@linux.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Lucas Tanure 2020-11-15 10:28:37 +00:00 • committed by Greg Kroah-Hartman
commit b0eec52fbe