drm/vc4: plane: Switch to drmm_universal_plane_alloc()
[linux-2.6-microblaze.git] / drivers / gpu / drm / vc4 / vc4_crtc.c
index 03a799b..d7cc006 100644 (file)
@@ -1282,7 +1282,6 @@ static int vc4_crtc_bind(struct device *dev, struct device *master, void *data)
        const struct vc4_pv_data *pv_data;
        struct vc4_crtc *vc4_crtc;
        struct drm_crtc *crtc;
-       struct drm_plane *destroy_plane, *temp;
        int ret;
 
        vc4_crtc = devm_kzalloc(dev, sizeof(*vc4_crtc), GFP_KERNEL);