diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/time.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index a479d08d5ed3..e75cae6072c5 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c | |||
@@ -223,10 +223,7 @@ static struct platform_device rtc_parisc_dev = { | |||
223 | 223 | ||
224 | static int __init rtc_init(void) | 224 | static int __init rtc_init(void) |
225 | { | 225 | { |
226 | int ret; | 226 | if (platform_device_register(&rtc_parisc_dev) < 0) |
227 | |||
228 | ret = platform_device_register(&rtc_parisc_dev); | ||
229 | if (ret < 0) | ||
230 | printk(KERN_ERR "unable to register rtc device...\n"); | 227 | printk(KERN_ERR "unable to register rtc device...\n"); |
231 | 228 | ||
232 | /* not necessarily an error */ | 229 | /* not necessarily an error */ |