]> git.dujemihanovic.xyz Git - u-boot.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)
commit59a6be9b1147e43c68236cb52be7b56c586be03a
tree4c4f1c70b5392a50e949131f90a9b5347b00f31d
parent758c706c6873fda806e3ce70d08bbb8ef3b81707
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