usb: avoid NULL check before free
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 19 Apr 2020 10:02:28 +0000 (12:02 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 28 Apr 2020 11:52:52 +0000 (13:52 +0200)
commitcff0144e4cd0825dda0ae46aa739f0681839cc3a
treef77d4031d941ae79497c3319240fbfe11a97298b
parentd16d37bcd4087b8ea0f66cb76a73edad182d151a
usb: avoid NULL check before free

The free() function checks if the argument is NULL.
Do not duplicate this check.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/usb/host/ehci-hcd.c