lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20160901085223.8596-1-colin.king@canonical.com>
Date:   Thu,  1 Sep 2016 09:52:23 +0100
From:   Colin King <colin.king@...onical.com>
To:     Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
        Tomi Valkeinen <tomi.valkeinen@...com>,
        Wolfram Sang <wsa-dev@...g-engineering.com>,
        linux-fbdev@...r.kernel.org
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] video: fbdev: mb862xx: remove unused variable 'ret'

From: Colin Ian King <colin.king@...onical.com>

ret is not being used, fixes warning:

drivers/video/fbdev/mb862xx/mb862xx-i2c.c:160:6: warning:
  unused variable ‘ret’ [-Wunused-variable]

Signed-off-by: Colin Ian King <colin.king@...onical.com>
---
 drivers/video/fbdev/mb862xx/mb862xx-i2c.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/video/fbdev/mb862xx/mb862xx-i2c.c b/drivers/video/fbdev/mb862xx/mb862xx-i2c.c
index 76d2068..ba96c44 100644
--- a/drivers/video/fbdev/mb862xx/mb862xx-i2c.c
+++ b/drivers/video/fbdev/mb862xx/mb862xx-i2c.c
@@ -157,8 +157,6 @@ static struct i2c_adapter mb862xx_i2c_adapter = {
 
 int mb862xx_i2c_init(struct mb862xxfb_par *par)
 {
-	int ret;
-
 	mb862xx_i2c_adapter.algo_data = par;
 	par->adap = &mb862xx_i2c_adapter;
 
-- 
2.9.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ