From patchwork Fri Mar 4 14:53:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 609231 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p24Er7Qk008011 for ; Fri, 4 Mar 2011 14:53:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759640Ab1CDOxF (ORCPT ); Fri, 4 Mar 2011 09:53:05 -0500 Received: from 80-190-117-144.ip-home.de ([80.190.117.144]:58049 "EHLO bu3sch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759427Ab1CDOxE (ORCPT ); Fri, 4 Mar 2011 09:53:04 -0500 Received: by bu3sch.de with esmtpsa (Exim 4.69) (envelope-from ) id 1PvWNN-0000BH-Ig; Fri, 04 Mar 2011 15:53:05 +0100 Subject: [PATCH] cbus-retu-wdt: Fix unused-variable-warning From: Michael Buesch To: Tony Lindgren Cc: Felipe Balbi , linux-omap Date: Fri, 04 Mar 2011 15:53:01 +0100 Message-ID: <1299250381.21644.5.camel@marge> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 04 Mar 2011 14:53:07 +0000 (UTC) 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; }