diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-11-14 21:38:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-22 17:26:23 +0100 |
commit | 202f785b1863d8feef53f6489afd9abcb744e7bf (patch) | |
tree | ed4a3d2da18b1b5878f8b3248d827d1cae29b18a /tools/perf/scripts/python/stackcollapse.py | |
parent | f8b729ce97f66807f6b958e891888d0b1ed20a9e (diff) |
usb: fotg210-udc: Remove a useless assignment
There is no need to use an intermediate array for these memory allocations,
so, axe it.
While at it, turn a '== NULL' into a shorter '!' when testing memory
allocation failure.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/deab9696fc4000499470e7ccbca7c36fca17bd4e.1668458274.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions