public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: maxin.john@gmail.com
To: djbw@fb.com, lars@metafoo.de
Cc: vinod.koul@intel.com, linux-kernel@vger.kernel.org,
	"Maxin B. John" <maxin.john@enea.com>
Subject: [PATCH] dma: timb_dma: Fix compiler warning
Date: Tue, 19 Feb 2013 22:33:53 +0200	[thread overview]
Message-ID: <1361306033-22229-1-git-send-email-maxin.john@gmail.com> (raw)

From: "Maxin B. John" <maxin.john@enea.com>

Fix this compiler warning:
warning: 'td_remove' defined but not used [-Wunused-function]

Signed-off-by: Maxin B. John <maxin.john@enea.com>
---
 drivers/dma/timb_dma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c
index 952f823..26107ba 100644
--- a/drivers/dma/timb_dma.c
+++ b/drivers/dma/timb_dma.c
@@ -823,7 +823,7 @@ static struct platform_driver td_driver = {
 		.owner  = THIS_MODULE,
 	},
 	.probe	= td_probe,
-	.remove	= __exit_p(td_remove),
+	.remove	= td_remove,
 };
 
 module_platform_driver(td_driver);
-- 
1.7.7


             reply	other threads:[~2013-02-19 20:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19 20:33 maxin.john [this message]
2013-03-04 12:21 ` [PATCH] dma: timb_dma: Fix compiler warning Maxin B. John
2013-03-04 13:56 ` Vinod Koul
2013-03-21  5:21 ` Vinod Koul
  -- strict thread matches above, loose matches on Subject: below --
2013-02-18 19:59 maxin.john
2013-02-19 11:36 ` Lars-Peter Clausen
2013-02-19 12:44   ` Maxin B. John

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=1361306033-22229-1-git-send-email-maxin.john@gmail.com \
    --to=maxin.john@gmail.com \
    --cc=djbw@fb.com \
    --cc=lars@metafoo.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxin.john@enea.com \
    --cc=vinod.koul@intel.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