]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Drivers: hv: vmbus: Simplify allocation of vmbus_evt
authorMichael Kelley <mhklinux@outlook.com>
Wed, 18 Feb 2026 17:01:21 +0000 (09:01 -0800)
committerWei Liu <wei.liu@kernel.org>
Wed, 18 Feb 2026 23:40:45 +0000 (23:40 +0000)
commit30d25a8fc04cf1806c09362616e861d6fd339f98
treec0d7456685072b12c6eecc516713ba940593a44c
parent36d6cbb62133fc6eea28f380409e0fb190f3dfbe
Drivers: hv: vmbus: Simplify allocation of vmbus_evt

The per-cpu variable vmbus_evt is currently dynamically allocated. It's
only 8 bytes, so just allocate it statically to simplify and save a few
lines of code.

Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/vmbus_drv.c