From 3e26e0c47e5ccd47acc87d2c9d9c0f222680eec2 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Fri, 17 Jan 2020 11:22:41 +0800 Subject: video: fbdev: pxa168fb: remove unnecessary platform_get_irq commit 640ba2444fa9 ("drivers/video/pxa168fb.c: use devm_ functions") left behind this, it can be removed. Signed-off-by: YueHaibing Cc: Arnd Bergmann Cc: Daniel Vetter Cc: Christophe JAILLET Cc: Jani Nikula Cc: Chuhong Yuan Signed-off-by: Bartlomiej Zolnierkiewicz Link: https://patchwork.freedesktop.org/patch/msgid/20200117032241.59148-1-yuehaibing@huawei.com --- drivers/video/fbdev/pxa168fb.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/video/fbdev') diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c index 706c69430818..aef8a3042590 100644 --- a/drivers/video/fbdev/pxa168fb.c +++ b/drivers/video/fbdev/pxa168fb.c @@ -779,7 +779,6 @@ static int pxa168fb_remove(struct platform_device *pdev) { struct pxa168fb_info *fbi = platform_get_drvdata(pdev); struct fb_info *info; - int irq; unsigned int data; if (!fbi) @@ -799,8 +798,6 @@ static int pxa168fb_remove(struct platform_device *pdev) if (info->cmap.len) fb_dealloc_cmap(&info->cmap); - irq = platform_get_irq(pdev, 0); - dma_free_wc(fbi->dev, info->fix.smem_len, info->screen_base, info->fix.smem_start); -- cgit v1.2.3