mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 21:15:02 +07:00
[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: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
b91677ad09
commit
c438269948
@ -326,7 +326,7 @@ void s5p_jpeg_clear_int(void __iomem *regs)
|
||||
{
|
||||
unsigned long reg;
|
||||
|
||||
reg = readl(regs + S5P_JPGINTST);
|
||||
readl(regs + S5P_JPGINTST);
|
||||
writel(S5P_INT_RELEASE, regs + S5P_JPGCOM);
|
||||
reg = readl(regs + S5P_JPGOPR);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user