2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/drivers/gpu/drm/bochs
Daniel Vetter e0c6a73fb1 drm/bochs: Remove unecessary NULL check in gem_free
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.

Noticed while chasing coverity reports, somehow this one here was not
flagged.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-22 15:39:40 +02:00
..
bochs_drv.c drm: bochs: add power management support 2014-04-18 13:31:49 +10:00
bochs_fbdev.c drm: bochs: drop unused struct fields 2014-04-18 13:31:50 +10:00
bochs_hw.c
bochs_kms.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
bochs_mm.c drm/bochs: Remove unecessary NULL check in gem_free 2014-04-22 15:39:40 +02:00
bochs.h drm: bochs: drop unused struct fields 2014-04-18 13:31:50 +10:00
Kconfig drm: fix bochs kconfig dependencies 2014-03-07 09:05:10 +10:00
Makefile