summaryrefslogtreecommitdiff
path: root/include/linux/rtc.h
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2017-11-25 19:41:32 -0500
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-11-29 22:16:31 +0100
commit876d1b53c5bfecc6a4d0fc7ea8bf5f288535322f (patch)
tree9dfe0eb7d7736b846dd0a87ba08a8fc44c769072 /include/linux/rtc.h
parent5c6e5eca79e8a5a89a7ae98b30ba6d71e367d899 (diff)
downloadlwn-876d1b53c5bfecc6a4d0fc7ea8bf5f288535322f.tar.gz
lwn-876d1b53c5bfecc6a4d0fc7ea8bf5f288535322f.zip
rtc: Remove unused RTC_DEVICE_NAME_SIZE
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>
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r--include/linux/rtc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h
index 41319a2e409b..fc6c90b57be0 100644
--- a/include/linux/rtc.h
+++ b/include/linux/rtc.h
@@ -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;