mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
media: rockchip: rkisp1: remove unused irq variable
The irq variable in struct rkisp1 is unused as it is only used to request the irq during probe, so remove it. Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com> Reviewed-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
187980e0ab
commit
c57476aba3
@ -348,7 +348,6 @@ struct rkisp1_debug {
|
||||
*/
|
||||
struct rkisp1_device {
|
||||
void __iomem *base_addr;
|
||||
int irq;
|
||||
struct device *dev;
|
||||
unsigned int clk_size;
|
||||
struct clk_bulk_data clks[RKISP1_MAX_BUS_CLK];
|
||||
|
@ -490,8 +490,6 @@ static int rkisp1_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
rkisp1->irq = irq;
|
||||
|
||||
for (i = 0; i < match_data->size; i++)
|
||||
rkisp1->clks[i].id = match_data->clks[i];
|
||||
ret = devm_clk_bulk_get(dev, match_data->size, rkisp1->clks);
|
||||
|
Loading…
Reference in New Issue
Block a user