linux/drivers/gpu/drm/vmwgfx
Thorsten Blum f07fd958a4 drm/vmwgfx: Remove unnecessary NULL checks before kvfree()
Since kvfree() already checks if its argument is NULL, an additional
check before calling kvfree() is unnecessary and can be removed.

Remove both and the following Coccinelle/coccicheck warnings reported by
ifnullfree.cocci:

  WARNING: NULL check before some freeing functions is not needed
  WARNING: NULL check before some freeing functions is not needed

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241007115131.1811-3-thorsten.blum@linux.dev
2024-10-10 23:01:45 -04:00
..
device_include
Kconfig
Makefile
ttm_object.c
ttm_object.h
vmw_surface_cache.h drm/vmwgfx: Fix handling of dumb buffers 2024-07-24 22:21:53 -04:00
vmwgfx_binding.c
vmwgfx_binding.h
vmwgfx_blit.c drm/vmwgfx: Remove unnecessary NULL checks before kvfree() 2024-10-10 23:01:45 -04:00
vmwgfx_bo.c drm/vmwgfx: Prevent unmapping active read buffers 2024-08-26 00:19:40 -04:00
vmwgfx_bo.h drm/vmwgfx: Prevent unmapping active read buffers 2024-08-26 00:19:40 -04:00
vmwgfx_cmd.c
vmwgfx_cmdbuf.c
vmwgfx_cmdbuf_res.c
vmwgfx_context.c
vmwgfx_cotable.c
vmwgfx_devcaps.c
vmwgfx_devcaps.h
vmwgfx_drv.c fs: move FMODE_UNSIGNED_OFFSET to fop_flags 2024-08-30 08:22:36 +02:00
vmwgfx_drv.h drm/vmwgfx: Limit display layout ioctl array size to VMWGFX_NUM_DISPLAY_UNITS 2024-10-10 14:27:01 -04:00
vmwgfx_execbuf.c
vmwgfx_fence.c drm/vmwgfx: Fix a deadlock in dma buf fence polling 2024-07-24 22:21:36 -04:00
vmwgfx_fence.h
vmwgfx_gem.c drm/vmwgfx: Add basic support for external buffers 2024-07-24 22:21:53 -04:00
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c
vmwgfx_ioctl.c
vmwgfx_irq.c
vmwgfx_kms.c drm/vmwgfx: Handle surface check failure correctly 2024-10-10 14:35:24 -04:00
vmwgfx_kms.h drm/vmwgfx: Limit display layout ioctl array size to VMWGFX_NUM_DISPLAY_UNITS 2024-10-10 14:27:01 -04:00
vmwgfx_ldu.c drm/vmwgfx: Fix handling of dumb buffers 2024-07-24 22:21:53 -04:00
vmwgfx_mksstat.h
vmwgfx_mob.c
vmwgfx_msg.c
vmwgfx_msg_arm64.h
vmwgfx_msg_x86.h
vmwgfx_overlay.c drm/vmwgfx: Fix overlay when using Screen Targets 2024-07-24 22:29:07 -04:00
vmwgfx_page_dirty.c
vmwgfx_prime.c drm/vmwgfx: Fix handling of dumb buffers 2024-07-24 22:21:53 -04:00
vmwgfx_reg.h
vmwgfx_resource.c drm/vmwgfx: Fix handling of dumb buffers 2024-07-24 22:21:53 -04:00
vmwgfx_resource_priv.h
vmwgfx_scrn.c drm/vmwgfx: Fix handling of dumb buffers 2024-07-24 22:21:53 -04:00
vmwgfx_shader.c
vmwgfx_simple_resource.c
vmwgfx_so.c
vmwgfx_so.h
vmwgfx_stdu.c drm/vmwgfx: Handle possible ENOMEM in vmw_stdu_connector_atomic_check 2024-10-10 14:27:51 -04:00
vmwgfx_streamoutput.c
vmwgfx_surface.c drm/vmwgfx: Cleanup kms setup without 3d 2024-10-10 14:31:54 -04:00
vmwgfx_system_manager.c
vmwgfx_ttm_buffer.c
vmwgfx_va.c
vmwgfx_validation.c
vmwgfx_validation.h
vmwgfx_vkms.c Merge drm/drm-fixes into drm-misc-fixes 2024-07-30 09:09:23 +02:00
vmwgfx_vkms.h