2017-11-26 00:42:26

by Cole Robinson

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
Just noticed this when looking at commits a few months back...

include/linux/rtc.h | 1 -
1 file changed, 1 deletion(-)

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;
--
2.14.3


From 1585887850424797982@xxx Mon Dec 04 20:48:31 +0000 2017
X-GM-THRID: 1585887850424797982
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread