The patch titled drivers/hwmon/w83791d.c: fix unused var warning has been added to the -mm tree. Its filename is drivers-hwmon-w83791dc-fix-unused-var-warning.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: drivers/hwmon/w83791d.c: fix unused var warning From: Michael Borisov <niro@xxxxxx> drivers/hwmon/w83791d.c: In function `w83791d_probe': drivers/hwmon/w83791d.c:1049: warning: unused variable `val1' Signed-off-by: Michael Borisov <niro@xxxxxx> Cc: "Mark M. Hoffman" <mhoffman@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/hwmon/w83791d.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/hwmon/w83791d.c~drivers-hwmon-w83791dc-fix-unused-var-warning drivers/hwmon/w83791d.c --- a/drivers/hwmon/w83791d.c~drivers-hwmon-w83791dc-fix-unused-var-warning +++ a/drivers/hwmon/w83791d.c @@ -1046,9 +1046,10 @@ static int w83791d_probe(struct i2c_clie { struct w83791d_data *data; struct device *dev = &client->dev; - int i, val1, err; + int i, err; #ifdef DEBUG + int val1; val1 = w83791d_read(client, W83791D_REG_DID_VID4); dev_dbg(dev, "Device ID version: %d.%d (0x%02x)\n", (val1 >> 5) & 0x07, (val1 >> 1) & 0x0f, val1); _ Patches currently in -mm which might be from niro@xxxxxx are drivers-hwmon-w83791dc-fix-unused-var-warning.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html