diff options
author | 2025-03-04 17:05:31 +0000 | |
---|---|---|
committer | 2025-03-05 23:08:00 +0100 | |
commit | d19111dff9c2dd0fcafaaea634236ecd0ec29c6a (patch) | |
tree | 39a18d12e17447d49c646b515257aedb878a6c9d /net/lapb/lapb_timer.c | |
parent | rtc: s5m: drop needless struct s5m_rtc_info::i2c member (diff) | |
download | wireguard-linux-d19111dff9c2dd0fcafaaea634236ecd0ec29c6a.tar.xz wireguard-linux-d19111dff9c2dd0fcafaaea634236ecd0ec29c6a.zip |
rtc: aspeed: drop needless struct aspeed_rtc::rtc_dev member
The memory pointed to by the ::rtc_dev member is managed via devres,
and no code in this driver uses it past _probe().
We can drop it from the structure and just use a local temporary
variable, reducing runtime memory consumption by a few bytes.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250304-rtc-cleanups-v2-3-d4689a71668c@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions