diff options
| author | Yuntao Wang <yuntao.wang@linux.dev> | 2026-09-30 09:57:48 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-13 21:25:48 -0700 |
| commit | a7f476e2626098cf3c1af4f1038df8914a19fa13 (patch) | |
| tree | 4123b179a2c555da0dbf99359b2f071630a1b150 /rust/kernel/alloc/kvec/errors.rs | |
| parent | 7c3f4d699f34535285d0ceb184927d71543d0064 (diff) | |
init: simplify initramfs.o build rule
CONFIG_BLK_DEV_INITRD is known to be enabled in the else branch,
so there is no need to use obj-$(CONFIG_BLK_DEV_INITRD). Use obj-y
directly to make the build rule clearer.
Also, reorder the condition to make the code easier to follow.
No functional change.
Link: https://lore.kernel.org/20260930015748.311366-1-yuntao.wang@linux.dev
Signed-off-by: Yuntao Wang <yuntao.wang@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
