linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cbus-retu-wdt: Fix unused-variable-warning
@ 2011-03-04 14:53 Michael Buesch
  2011-03-07  7:43 ` Felipe Balbi
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Buesch @ 2011-03-04 14:53 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Felipe Balbi, linux-omap

This fixes an "unused variable" warning. No change
in functionality.

Signed-off-by: Michael Buesch <mb@bu3sch.de>

---

Index: linux-2.6.38-rc6/drivers/cbus/retu-wdt.c
===================================================================
--- linux-2.6.38-rc6.orig/drivers/cbus/retu-wdt.c	2011-03-04 15:46:21.312816961 +0100
+++ linux-2.6.38-rc6/drivers/cbus/retu-wdt.c	2011-03-04 15:46:54.658384947 +0100
@@ -124,9 +124,9 @@ static int retu_wdt_release(struct inode
 	struct retu_wdt_dev *wdev = file->private_data;
 
 #ifndef CONFIG_WATCHDOG_NOWAYOUT
-	retu_wdt_ping_enable(retu_wdt);
+	retu_wdt_ping_enable(wdev);
 #endif
-	clear_bit(0, &retu_wdt->users);
+	clear_bit(0, &wdev->users);
 
 	return 0;
 }


-- 
Greetings, Michael.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] cbus-retu-wdt: Fix unused-variable-warning
  2011-03-04 14:53 [PATCH] cbus-retu-wdt: Fix unused-variable-warning Michael Buesch
@ 2011-03-07  7:43 ` Felipe Balbi
  0 siblings, 0 replies; 2+ messages in thread
From: Felipe Balbi @ 2011-03-07  7:43 UTC (permalink / raw)
  To: Michael Buesch; +Cc: Tony Lindgren, Felipe Balbi, linux-omap

On Fri, Mar 04, 2011 at 03:53:01PM +0100, Michael Buesch wrote:
> This fixes an "unused variable" warning. No change
> in functionality.
> 
> Signed-off-by: Michael Buesch <mb@bu3sch.de>

Acked-by: Felipe Balbi <balbi@ti.com>

-- 
balbi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-07  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 14:53 [PATCH] cbus-retu-wdt: Fix unused-variable-warning Michael Buesch
2011-03-07  7:43 ` Felipe Balbi

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).