diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-26 11:23:58 -0300 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:01:15 +0900 |
commit | 7810a2389004556943bcd68cb2515bc6521cd8c8 (patch) | |
tree | 5e3dea484ad18829d0714daa7a95bce263dbf8b9 /drivers/media | |
parent | e2745e52e0729f1ab4e2cee63ad5f75279f9a53d (diff) | |
download | linux-3.10-7810a2389004556943bcd68cb2515bc6521cd8c8.tar.gz linux-3.10-7810a2389004556943bcd68cb2515bc6521cd8c8.tar.bz2 linux-3.10-7810a2389004556943bcd68cb2515bc6521cd8c8.zip |
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c | 2 |
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 52407d79072..0d37bed088d 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); } |