From: Evgeniy Polyakov <zbr@ioremap.net>
To: "Justin P. Mattock" <justinmattock@gmail.com>
Cc: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au,
davem@davemloft.net, jkosina@suse.cz, kim.phillips@freescale.com
Subject: Re: [PATCH v3]crypto:hifn_795x.c Fix warning: variable 'ctx' set but not used
Date: Tue, 6 Jul 2010 22:58:53 +0400 [thread overview]
Message-ID: <20100706185853.GA27664@ioremap.net> (raw)
In-Reply-To: <1278441397-10960-1-git-send-email-justinmattock@gmail.com>
On Tue, Jul 06, 2010 at 11:36:37AM -0700, Justin P. Mattock (justinmattock@gmail.com) wrote:
> The below patch gets rid of an unused variable ctx reported by
> GCC when building the kernel.
> CC [M] drivers/crypto/hifn_795x.o
> drivers/crypto/hifn_795x.c: In function 'hifn_flush':
> drivers/crypto/hifn_795x.c:2021:23: warning: variable 'ctx' set but not used
> drivers/crypto/hifn_795x.c: In function 'hifn_process_queue':
> drivers/crypto/hifn_795x.c:2142:23: warning: variable 'ctx' set but not used
>
> Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Looks good, thank you.
I can only wonder how I wanted to use it in that context...
--
Evgeniy Polyakov
next prev parent reply other threads:[~2010-07-06 19:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 18:36 [PATCH v3]crypto:hifn_795x.c Fix warning: variable 'ctx' set but not used Justin P. Mattock
2010-07-06 18:58 ` Evgeniy Polyakov [this message]
2010-07-06 19:27 ` Justin P. Mattock
2010-07-14 12:12 ` Herbert Xu
2010-07-14 13:35 ` Justin P. Mattock
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=20100706185853.GA27664@ioremap.net \
--to=zbr@ioremap.net \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=jkosina@suse.cz \
--cc=justinmattock@gmail.com \
--cc=kim.phillips@freescale.com \
--cc=linux-crypto@vger.kernel.org \
/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).