Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove useless NULL checks for qemu_malloc return value
Found with this Coccinelle semantic patch: @@ expression E; identifier ptr; identifier fn ~= "qemu_mallocz*"; @@ -ptr = fn(E); -if (ptr == NULL) { ... } - +ptr = fn(E); Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
- Loading branch information