]> git.baikalelectronics.ru Git - uboot.git/commit
virtio: Avoid repeating a long expression
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:48 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commit8aaed9ae0a7b2d03e660974487fa7bf5b7f071a0
tree4c4f1c70b5392a50e949131f90a9b5347b00f31d
parent261111f1bc1bfee079b74a3f4d818c35cda49a8d
virtio: Avoid repeating a long expression

Use a local variable to hold this name, to reduce the amount of code that
needs to be read.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/virtio/virtio-uclass.c