]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rtc: optee: remove unnecessary memory operations
authorClément Le Goffic <clement.legoffic@foss.st.com>
Tue, 15 Jul 2025 14:07:14 +0000 (16:07 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Sep 2025 15:38:21 +0000 (17:38 +0200)
commit44fee00f2139894b2ae4433f0661d70134b511c0
tree3af6618a577b182cab4dc1c2db4dc3be9bb59b90
parenta531350d2fe58f7fc4516e555f22391dee94efd9
rtc: optee: remove unnecessary memory operations

Remove memcpy by using directly the shared memory.
Remove memset be initialize variable to 0 on stack.

Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
Link: https://lore.kernel.org/r/20250715-upstream-optee-rtc-v1-2-e0fdf8aae545@foss.st.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-optee.c