Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/rtc/rtc-rx8581.c: remove empty function

After the switch to devm_* functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Sachin Kamat and committed by
Linus Torvalds
75319092 75a6cef3

-6
-6
drivers/rtc/rtc-rx8581.c
··· 251 251 return 0; 252 252 } 253 253 254 - static int rx8581_remove(struct i2c_client *client) 255 - { 256 - return 0; 257 - } 258 - 259 254 static const struct i2c_device_id rx8581_id[] = { 260 255 { "rx8581", 0 }, 261 256 { } ··· 263 268 .owner = THIS_MODULE, 264 269 }, 265 270 .probe = rx8581_probe, 266 - .remove = rx8581_remove, 267 271 .id_table = rx8581_id, 268 272 }; 269 273