summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/malidp_drv.c
diff options
context:
space:
mode:
authorLiviu Dudau2016-10-06 19:01:39 +0200
committerLiviu Dudau2017-01-23 10:46:24 +0100
commitcf4c8870844658a84371f0d603fbb94b5c0bf4b2 (patch)
tree3617385babf80d75907324d2ee9fd1d9683daab0 /drivers/gpu/drm/arm/malidp_drv.c
parentdrm/arm/malidp: Fix possible dereference of NULL (diff)
downloadkernel-qcow2-linux-cf4c8870844658a84371f0d603fbb94b5c0bf4b2.tar.gz
kernel-qcow2-linux-cf4c8870844658a84371f0d603fbb94b5c0bf4b2.tar.xz
kernel-qcow2-linux-cf4c8870844658a84371f0d603fbb94b5c0bf4b2.zip
drm: malidp: Remove event_list member from struct malidp_drm
This struct member managed to outlive the submission process without being removed. It is useless. Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/malidp_drv.c')
-rw-r--r--drivers/gpu/drm/arm/malidp_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/arm/malidp_drv.c b/drivers/gpu/drm/arm/malidp_drv.c
index 32f746e31379..080f7631c672 100644
--- a/drivers/gpu/drm/arm/malidp_drv.c
+++ b/drivers/gpu/drm/arm/malidp_drv.c
@@ -22,7 +22,6 @@
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
-#include <drm/drm_fb_helper.h>
#include <drm/drm_fb_cma_helper.h>
#include <drm/drm_gem_cma_helper.h>
#include <drm/drm_of.h>
@@ -286,7 +285,6 @@ static int malidp_bind(struct device *dev)
memcpy(hwdev, of_device_get_match_data(dev), sizeof(*hwdev));
malidp->dev = hwdev;
- INIT_LIST_HEAD(&malidp->event_list);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
hwdev->regs = devm_ioremap_resource(dev, res);