提交 c4382699 编写于 作者: M Mauro Carvalho Chehab

[media] s5p-jpeg: Get rid of a warning

drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c: In function 's5p_jpeg_clear_int':
drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c:327:16: warning: variable 'reg' set but not used [-Wunused-but-set-variable]
  unsigned long reg;
                ^
Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
上级 b91677ad
...@@ -326,7 +326,7 @@ void s5p_jpeg_clear_int(void __iomem *regs) ...@@ -326,7 +326,7 @@ void s5p_jpeg_clear_int(void __iomem *regs)
{ {
unsigned long reg; unsigned long reg;
reg = readl(regs + S5P_JPGINTST); readl(regs + S5P_JPGINTST);
writel(S5P_INT_RELEASE, regs + S5P_JPGCOM); writel(S5P_INT_RELEASE, regs + S5P_JPGCOM);
reg = readl(regs + S5P_JPGOPR); reg = readl(regs + S5P_JPGOPR);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册