Commit 098fdb7
Maxime Ripard
of: reserved-memory: Move an assignment to effective place in __reserved_mem_alloc_size()
JIRA: https://issues.redhat.com/browse/RHEL-125402
commit ab7eeb7
Author: Zijun Hu <quic_zijuhu@quicinc.com>
Date: 2025-01-09 21:27:03 +0800
of: reserved-memory: Move an assignment to effective place in __reserved_mem_alloc_size()
The assignment '@base = 0' in __reserved_mem_alloc_size() is meaningless
since @base was already initialized to 0.
Move the assignment to effective and proper place.
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250109-of_core_fix-v4-12-db8a72415b8c@quicinc.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Maxime Ripard <mripard@redhat.com>1 parent 3dcaa6d commit 098fdb7
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
440 | | - | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
444 | 442 | | |
445 | 443 | | |
| 444 | + | |
446 | 445 | | |
447 | 446 | | |
448 | 447 | | |
| |||
0 commit comments