diff options
author | 2025-03-04 17:05:41 +0000 | |
---|---|---|
committer | 2025-03-05 23:08:01 +0100 | |
commit | d94bc2bbf8d9c1319c64467cc5bf94ecb5388cfa (patch) | |
tree | 3262102904d4a7ddaf33a387cce1dc046f984d72 /net/lapb/lapb_timer.c | |
parent | rtc: s35390a: drop needless struct s35390a::rtc member (diff) | |
download | wireguard-linux-d94bc2bbf8d9c1319c64467cc5bf94ecb5388cfa.tar.xz wireguard-linux-d94bc2bbf8d9c1319c64467cc5bf94ecb5388cfa.zip |
rtc: sd2405al: drop needless struct sd2405al::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.
Tested-by: Tóth János <gomba007@gmail.com>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250304-rtc-cleanups-v2-13-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