linux_dsm_epyc7002/drivers/gpu/drm/virtio
Markus Elfring 5345a5ab51 drm/virtgpu: Delete unnecessary checks before drm_gem_object_unreference_unlocked()
The drm_gem_object_unreference_unlocked() function tests whether
its argument is NULL and then returns immediately.
Thus the test around the calls is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/5e3dafff-72bb-e616-e84a-368f78fa66b1@users.sourceforge.net
2016-07-18 09:11:29 +02:00
..
Kconfig Add virtio gpu driver. 2015-06-03 14:17:38 +02:00
Makefile virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_debugfs.c drm/virtio: use %llu format string form atomic64_t 2015-10-16 11:36:36 +10:00
virtgpu_display.c drm/virtgpu: Delete unnecessary checks before drm_gem_object_unreference_unlocked() 2016-07-18 09:11:29 +02:00
virtgpu_drm_bus.c drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
virtgpu_drv.c drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
virtgpu_drv.h drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
virtgpu_fb.c drm: Remove unused fbdev_list members 2015-11-24 11:41:52 +01:00
virtgpu_fence.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-11-10 09:33:06 -08:00
virtgpu_gem.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
virtgpu_ioctl.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
virtgpu_kms.c virtio: make find_vqs() checkpatch.pl-friendly 2016-01-12 20:47:06 +02:00
virtgpu_object.c drm/ttm: remove lazy parameter from ttm_bo_wait 2016-05-04 20:21:26 -04:00
virtgpu_plane.c virtio-gpu: use src not crtc 2016-06-07 10:37:14 +02:00
virtgpu_prime.c virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_ttm.c drm/ttm: implement LRU add callbacks v2 2016-05-04 20:21:38 -04:00
virtgpu_vq.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00