linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] mfd: lm3533: fix build warning
@ 2015-10-07 12:28 Sudip Mukherjee
  2015-10-07 12:28 ` [PATCH 2/2] mfd: rtsx: " Sudip Mukherjee
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Sudip Mukherjee @ 2015-10-07 12:28 UTC (permalink / raw)
  To: Lee Jones; +Cc: linux-kernel, Sudip Mukherjee

We were getting build warning about unused variable 'ret'.
The commit c749db571dcf has removed the use of ret but missed removing
the variable which is unused now.

Fixes: c749db571dcf ("mfd: lm3533: Simplify function return logic")
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 drivers/mfd/lm3533-core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mfd/lm3533-core.c b/drivers/mfd/lm3533-core.c
index 193ecee1..5abcbb2 100644
--- a/drivers/mfd/lm3533-core.c
+++ b/drivers/mfd/lm3533-core.c
@@ -592,7 +592,6 @@ static int lm3533_i2c_probe(struct i2c_client *i2c,
 					const struct i2c_device_id *id)
 {
 	struct lm3533 *lm3533;
-	int ret;
 
 	dev_dbg(&i2c->dev, "%s\n", __func__);
 
-- 
1.9.1


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

end of thread, other threads:[~2015-10-13  8:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 12:28 [PATCH 1/2] mfd: lm3533: fix build warning Sudip Mukherjee
2015-10-07 12:28 ` [PATCH 2/2] mfd: rtsx: " Sudip Mukherjee
2015-10-07 12:40   ` kbuild test robot
2015-10-07 12:46     ` Sudip Mukherjee
2015-10-07 13:48       ` [kbuild-all] " Fengguang Wu
2015-10-07 15:41         ` Sudip Mukherjee
2015-10-08  0:56           ` Fengguang Wu
2015-10-08  6:30             ` Greg KH
2015-10-08  7:45               ` Sudip Mukherjee
2015-10-13  8:45   ` Lee Jones
2015-10-07 12:41 ` [PATCH 1/2] mfd: lm3533: " kbuild test robot
2015-10-13  8:45 ` Lee Jones

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