diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-26 11:23:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-26 18:52:15 -0300 |
commit | c438269948c420518101a836b526f71d389f80dd (patch) | |
tree | 3d6bf67864d8aa4d499c29582d00fe0ae9781bcb /drivers/media/platform/s5p-jpeg | |
parent | b91677ad098b7452b03b7a21d195269520f3522d (diff) |
[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>
Diffstat (limited to 'drivers/media/platform/s5p-jpeg')
-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 52407d790726..0d37bed088df 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); } |