Skip to content

Commit 61c523b

Browse files
Xiaofei Tansravnborg
authored andcommitted
fbdev: mx3fb: remove unused variable 'irq'
Remove the variable 'irq' that is set but never used. Signed-off-by: Xiaofei Tan <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent fb4f3c9 commit 61c523b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/video/fbdev/mx3fb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,6 @@ static int init_fb_chan(struct mx3fb_data *mx3fb, struct idmac_channel *ichan)
14281428
struct device *dev = mx3fb->dev;
14291429
struct mx3fb_platform_data *mx3fb_pdata = dev_get_platdata(dev);
14301430
const char *name = mx3fb_pdata->name;
1431-
unsigned int irq;
14321431
struct fb_info *fbi;
14331432
struct mx3fb_info *mx3fbi;
14341433
const struct fb_videomode *mode;
@@ -1441,7 +1440,6 @@ static int init_fb_chan(struct mx3fb_data *mx3fb, struct idmac_channel *ichan)
14411440
}
14421441

14431442
ichan->client = mx3fb;
1444-
irq = ichan->eof_irq;
14451443

14461444
if (ichan->dma_chan.chan_id != IDMAC_SDC_0)
14471445
return -EINVAL;

0 commit comments

Comments
 (0)