diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-23 15:23:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-24 13:38:29 +0200 |
commit | 7fd6bd9df1868983ce59ca8fd5d796c5b63100a5 (patch) | |
tree | 60f50fb208891e0acfcb86682d76e8d33f8db709 /drivers/media/platform/omap3isp | |
parent | [media] saa7134: fix page size on some archs (diff) | |
download | linux-7fd6bd9df1868983ce59ca8fd5d796c5b63100a5.tar.xz linux-7fd6bd9df1868983ce59ca8fd5d796c5b63100a5.zip |
[media] omap3isp: remove unused var
drivers/media/platform/omap3isp/isppreview.c:932:6: warning: variable ‘features’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/omap3isp')
-rw-r--r-- | drivers/media/platform/omap3isp/isppreview.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/platform/omap3isp/isppreview.c b/drivers/media/platform/omap3isp/isppreview.c index 15cb254ccc39..13803270d104 100644 --- a/drivers/media/platform/omap3isp/isppreview.c +++ b/drivers/media/platform/omap3isp/isppreview.c @@ -929,14 +929,10 @@ static void preview_setup_hw(struct isp_prev_device *prev, u32 update, u32 active) { unsigned int i; - u32 features; if (update == 0) return; - features = (prev->params.params[0].features & active) - | (prev->params.params[1].features & ~active); - for (i = 0; i < ARRAY_SIZE(update_attrs); i++) { const struct preview_update *attr = &update_attrs[i]; struct prev_params *params; |