mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 11:03:37 +00:00
The ->gem_free_object never gets called with a NULL pointer, the check is redundant. Also checking after the upcast allows compilers to elide it anyway. Spotted by coverity. Reviewed-by: David Herrmann <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>