mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-21 15:36:51 +07:00
staging: drm/imx: remove unused variables
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b728766ced
commit
ba776c1890
@ -491,7 +491,6 @@ int imx_drm_add_crtc(struct drm_crtc *crtc,
|
||||
{
|
||||
struct imx_drm_device *imxdrm = __imx_drm_device();
|
||||
struct imx_drm_crtc *imx_drm_crtc;
|
||||
const struct drm_crtc_funcs *crtc_funcs;
|
||||
int ret;
|
||||
|
||||
mutex_lock(&imxdrm->mutex);
|
||||
@ -512,8 +511,6 @@ int imx_drm_add_crtc(struct drm_crtc *crtc,
|
||||
imx_drm_crtc->cookie.cookie = cookie;
|
||||
imx_drm_crtc->cookie.id = id;
|
||||
|
||||
crtc_funcs = imx_drm_helper_funcs->crtc_funcs;
|
||||
|
||||
imx_drm_crtc->crtc = crtc;
|
||||
imx_drm_crtc->imxdrm = imxdrm;
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include <linux/device.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <drm/drmP.h>
|
||||
#include <drm/drm_fb_helper.h>
|
||||
#include <drm/drm_crtc_helper.h>
|
||||
#include <linux/fb.h>
|
||||
#include <linux/clk.h>
|
||||
@ -42,9 +41,6 @@ struct ipu_framebuffer {
|
||||
};
|
||||
|
||||
struct ipu_crtc {
|
||||
struct drm_fb_helper fb_helper;
|
||||
struct ipu_framebuffer ifb;
|
||||
int num_crtcs;
|
||||
struct device *dev;
|
||||
struct drm_crtc base;
|
||||
struct imx_drm_crtc *imx_crtc;
|
||||
@ -54,7 +50,6 @@ struct ipu_crtc {
|
||||
struct dmfc_channel *dmfc;
|
||||
struct ipu_di *di;
|
||||
int enabled;
|
||||
struct ipu_priv *ipu_priv;
|
||||
struct drm_pending_vblank_event *page_flip_event;
|
||||
struct drm_framebuffer *newfb;
|
||||
int irq;
|
||||
|
Loading…
Reference in New Issue
Block a user