OSDN Git Service

rtc: Remove unused RTC_DEVICE_NAME_SIZE
authorCole Robinson <crobinso@redhat.com>
Sun, 26 Nov 2017 00:41:32 +0000 (19:41 -0500)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 29 Nov 2017 21:16:31 +0000 (22:16 +0100)
The last usage was removed in 5c82a6ae0 when rtc_device.name
was removed

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include/linux/rtc.h

index 41319a2..fc6c90b 100644 (file)
@@ -87,7 +87,6 @@ struct rtc_class_ops {
        int (*set_offset)(struct device *, long offset);
 };
 
-#define RTC_DEVICE_NAME_SIZE 20
 typedef struct rtc_task {
        void (*func)(void *private_data);
        void *private_data;