diff mbox series

rtc: Remove unused RTC_DEVICE_NAME_SIZE

Message ID 2cb5fda40f5ac0a6cc0ab59914c98062741c2e8b.1511656401.git.crobinso@redhat.com
State Accepted
Commit 876d1b53c5bfecc6a4d0fc7ea8bf5f288535322f
Headers show
Series rtc: Remove unused RTC_DEVICE_NAME_SIZE | expand

Commit Message

Cole Robinson Nov. 26, 2017, 12:41 a.m. UTC
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(-)

-- 
2.14.3

Comments

Alexandre Belloni Nov. 29, 2017, 9:17 p.m. UTC | #1
Hi,

On 25/11/2017 at 19:41:32 -0500, Cole Robinson wrote:
> 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(-)

> 


I completely forgot it there...

Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
diff mbox series

Patch

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;