summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/media/platform/omap3isp/isppreview.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/media/platform/omap3isp/isppreview.c')
-rw-r--r--kernel/drivers/media/platform/omap3isp/isppreview.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/drivers/media/platform/omap3isp/isppreview.c b/kernel/drivers/media/platform/omap3isp/isppreview.c
index 15cb254cc..13803270d 100644
--- a/kernel/drivers/media/platform/omap3isp/isppreview.c
+++ b/kernel/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;