]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ether: avoid NULL check before free()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 19 Apr 2020 10:11:12 +0000 (12:11 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 28 Apr 2020 11:52:52 +0000 (13:52 +0200)
commit0550e85a224cd91c81f33fe4aecd6f4e55d0d28a
tree2cb37697929153f104058967550427e4e4f17ffa
parent644dd08c7e1e038ca57e4209ae0992fcdaab5c3b
usb: ether: avoid NULL check before free()

free() checks if its argument is NULL. Do not duplicate this check.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/usb/gadget/ether.c