From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: [PATCH 5/7] [media] omap3isp: remove unused var
Date: Fri, 26 Jun 2015 00:52:21 +0300 [thread overview]
Message-ID: <2241247.FDDqeShdzl@avalon> (raw)
In-Reply-To: <7a9327cd8788da75b44d3bafb058bcfd6ae34319.1435142906.git.mchehab@osg.samsung.com>
Hi Mauro,
On Wednesday 24 June 2015 07:49:09 Mauro Carvalho Chehab wrote:
> 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>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
On a side note, I'd appreciate if you could wait a couple of days for review
before committing patches to the media_tree master branch.
Or maybe process pending pull requests for the same driver before fast-
tracking your own patches ;-)
> 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;
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2015-06-25 21:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 10:49 [PATCH 1/7] [media] si470x: cleanup define namespace Mauro Carvalho Chehab
2015-06-24 10:49 ` [PATCH 2/7] [media] tuner-i2c: be consistent with I2C declaration Mauro Carvalho Chehab
2015-06-24 10:49 ` [PATCH 3/7] [media] use CONFIG_PM_SLEEP for suspend/resume Mauro Carvalho Chehab
2015-06-24 11:02 ` Maxime Coquelin
2015-06-24 10:49 ` [PATCH 4/7] [media] saa7134: fix page size on some archs Mauro Carvalho Chehab
2015-06-24 10:49 ` [PATCH 5/7] [media] omap3isp: remove unused var Mauro Carvalho Chehab
2015-06-25 21:52 ` Laurent Pinchart [this message]
2015-06-24 10:49 ` [PATCH 6/7] [media] lmedm04: use u32 instead of u64 for relative stats Mauro Carvalho Chehab
2015-06-24 10:49 ` [PATCH 7/7] [media] lmedm04: fix the range for relative measurements Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2241247.FDDqeShdzl@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=mchehab@osg.samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).