mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
fbdev: mx3fb: remove unused variable 'irq'
Remove the variable 'irq' that is set but never used. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/1600334360-4214-1-git-send-email-tanxiaofei@huawei.com
This commit is contained in:
parent
fb4f3c9278
commit
61c523b932
@ -1428,7 +1428,6 @@ static int init_fb_chan(struct mx3fb_data *mx3fb, struct idmac_channel *ichan)
|
||||
struct device *dev = mx3fb->dev;
|
||||
struct mx3fb_platform_data *mx3fb_pdata = dev_get_platdata(dev);
|
||||
const char *name = mx3fb_pdata->name;
|
||||
unsigned int irq;
|
||||
struct fb_info *fbi;
|
||||
struct mx3fb_info *mx3fbi;
|
||||
const struct fb_videomode *mode;
|
||||
@ -1441,7 +1440,6 @@ static int init_fb_chan(struct mx3fb_data *mx3fb, struct idmac_channel *ichan)
|
||||
}
|
||||
|
||||
ichan->client = mx3fb;
|
||||
irq = ichan->eof_irq;
|
||||
|
||||
if (ichan->dma_chan.chan_id != IDMAC_SDC_0)
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user