mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 23:51:46 +00:00
[media] s5p-jpeg: Avoid assigning readl result
Avoid gcc warning when -Wunused-but-set-variable is enabled. The readl return value need not to be assigned to any variable as the reading itself is just a part of a sequence required for clearing the interrupt flag. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
0c2272170d
commit
0cd9b21ed5
@ -324,11 +324,9 @@ int s5p_jpeg_stream_stat_ok(void __iomem *regs)
|
||||
|
||||
void s5p_jpeg_clear_int(void __iomem *regs)
|
||||
{
|
||||
unsigned long reg;
|
||||
|
||||
readl(regs + S5P_JPGINTST);
|
||||
writel(S5P_INT_RELEASE, regs + S5P_JPGCOM);
|
||||
reg = readl(regs + S5P_JPGOPR);
|
||||
readl(regs + S5P_JPGOPR);
|
||||
}
|
||||
|
||||
unsigned int s5p_jpeg_compressed_size(void __iomem *regs)
|
||||
|
Loading…
Reference in New Issue
Block a user