|
From: | Michael Tokarev |
Subject: | Re: [PATCH for-8.2] hw/s390x/s390-virtio-ccw: Remove superfluous code to set the NIC model |
Date: | Sat, 5 Aug 2023 09:57:51 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 |
04.08.2023 10:35, Thomas Huth пишет:
The check for nd->model being NULL was originally required, but in commit e11f463295d95aba ("s390x/virtio: use qemu_check_nic_model()") the corresponding code had been replaced by a call to the function qemu_check_nic_model() - and this in turn calls qemu_find_nic_model() which contains the same check for nd->model being NULL again. So we can remove this from the calling site now.
Applied to my trivial-patches tree, thanks! /mjt
[Prev in Thread] | Current Thread | [Next in Thread] |