diff options
author | 2025-03-04 17:05:32 +0000 | |
---|---|---|
committer | 2025-03-05 23:08:00 +0100 | |
commit | 1b625aaf335ad2216b47b9b9d9416d66f0a54e8b (patch) | |
tree | 1a144da1ab3799f5ec03c819063ba777e06ca3f2 /net/lapb/lapb_timer.c | |
parent | rtc: aspeed: drop needless struct aspeed_rtc::rtc_dev member (diff) | |
download | wireguard-linux-1b625aaf335ad2216b47b9b9d9416d66f0a54e8b.tar.xz wireguard-linux-1b625aaf335ad2216b47b9b9d9416d66f0a54e8b.zip |
rtc: ds2404: drop needless struct ds2404::rtc member
The memory pointed to by the ::rtc 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-4-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