From 7c047cc59cc69124644ac2ef83ba087f135f2ae3 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 20 Dec 2012 15:05:34 -0800 Subject: [PATCH] --- yaml --- r: 347882 b: refs/heads/master c: 5abe257af8b95857b95fa0ba694530b446ae32d8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/rtc/class.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 370dd787c002..957911774ae3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2c79737af83e0d586899f48c6010148ea2064369 +refs/heads/master: 5abe257af8b95857b95fa0ba694530b446ae32d8 diff --git a/trunk/drivers/rtc/class.c b/trunk/drivers/rtc/class.c index f8a0aab218cb..5143629dedbd 100644 --- a/trunk/drivers/rtc/class.c +++ b/trunk/drivers/rtc/class.c @@ -244,7 +244,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); }