]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/rtc/class.c
Merge branch 'fortglx/3.9/time' of git://git.linaro.org/people/jstultz/linux into...
[linux.git] / drivers / rtc / class.c
index c01773f564357ee28395ace9d6b89cf45970e4ac..26388f1825941329b28168a36b338c7405a6a4f7 100644 (file)
@@ -251,7 +251,6 @@ void rtc_device_unregister(struct rtc_device *rtc)
                rtc_proc_del_device(rtc);
                device_unregister(&rtc->dev);
                rtc->ops = NULL;
-               ida_simple_remove(&rtc_ida, rtc->id);
                mutex_unlock(&rtc->ops_lock);
                put_device(&rtc->dev);
        }