[PATCH] video: fbdev: mb862xx: remove unused variable 'ret'
From: Colin King
Date: Thu Sep 01 2016 - 04:56:06 EST
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
---
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