[PATCH] char: remove unused variable res to clean up build warning

2015-09-07 Thread Colin King
From: Colin Ian King Commit f368ed6088ae9 ("char: make misc_deregister a void function") did not remove unused variable res and now we get a build warning: drivers/rtc/rtc-ds1374.c: In function 'ds1374_remove': drivers/rtc/rtc-ds1374.c:667:6: warning: unused variable 'res' [-Wunused-variable]

[PATCH] char: remove unused variable res to clean up build warning

2015-09-07 Thread Colin King
From: Colin Ian King Commit f368ed6088ae9 ("char: make misc_deregister a void function") did not remove unused variable res and now we get a build warning: drivers/rtc/rtc-ds1374.c: In function 'ds1374_remove': drivers/rtc/rtc-ds1374.c:667:6: warning: unused variable