public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Weiner <hannes-kernel@saeurebad.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: trivial@kernel.org
Subject: [TRIVIAL PATCH] Remove unused variable in drivers/dma/ioatdma.c
Date: Sun, 7 Oct 2007 21:18:49 +0200	[thread overview]
Message-ID: <20071007191849.GA30018@saeurebad.de> (raw)

Hi,

I found this in an `allyesconfig' build:

  CC      drivers/dma/ioatdma.o
  drivers/dma/ioatdma.c: In function #ioat_dma_free_chan_resources#:
  drivers/dma/ioatdma.c:247: warning: unused variable #chanctrl#

	Hannes

Signed-off-by: Johannes Weiner <hannes-kernel@saeurebad.de>

diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c
index 41b18c5..d9db64b 100644
--- a/drivers/dma/ioatdma.c
+++ b/drivers/dma/ioatdma.c
@@ -244,7 +244,6 @@ static void ioat_dma_free_chan_resources(struct dma_chan *chan)
 	struct ioat_dma_chan *ioat_chan = to_ioat_chan(chan);
 	struct ioat_device *ioat_device = to_ioat_device(chan->device);
 	struct ioat_desc_sw *desc, *_desc;
-	u16 chanctrl;
 	int in_use_descs = 0;
 
 	ioat_dma_memcpy_cleanup(ioat_chan);

             reply	other threads:[~2007-10-07 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-07 19:18 Johannes Weiner [this message]
2007-10-07 21:05 ` [TRIVIAL PATCH] Remove unused variable in drivers/dma/ioatdma.c David Miller

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=20071007191849.GA30018@saeurebad.de \
    --to=hannes-kernel@saeurebad.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@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