summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-26 14:23:58 (GMT)
committerChanho Park <chanho61.park@samsung.com>2014-11-18 03:01:15 (GMT)
commit7810a2389004556943bcd68cb2515bc6521cd8c8 (patch)
tree5e3dea484ad18829d0714daa7a95bce263dbf8b9
parente2745e52e0729f1ab4e2cee63ad5f75279f9a53d (diff)
downloadlinux-3.10-7810a2389004556943bcd68cb2515bc6521cd8c8.zip
linux-3.10-7810a2389004556943bcd68cb2515bc6521cd8c8.tar.gz
linux-3.10-7810a2389004556943bcd68cb2515bc6521cd8c8.tar.bz2
[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; ^ Change-Id: I51401e5bc719fd8788933acf2181daa5b82bed38 Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c b/drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c
index 52407d7..0d37bed 100644
--- a/drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c
+++ b/drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c
@@ -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);
}