linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtc: Remove unused RTC_DEVICE_NAME_SIZE
@ 2017-11-26  0:41 Cole Robinson
  2017-11-29 21:17 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Cole Robinson @ 2017-11-26  0:41 UTC (permalink / raw)
  To: linux-rtc; +Cc: a.zummo, alexandre.belloni, linux-kernel, Cole Robinson

The last usage was removed in 5c82a6ae0 when rtc_device.name
was removed

Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-29 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-26  0:41 [PATCH] rtc: Remove unused RTC_DEVICE_NAME_SIZE Cole Robinson
2017-11-29 21:17 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).