aboutsummaryrefslogtreecommitdiff
path: root/ui/input-keymap.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-08-04 09:35:25 +0200
committerThomas Huth <thuth@redhat.com>2023-08-23 12:06:44 +0200
commitce5943792f4bc6792f37c09c4575f91c4f37ff0b (patch)
tree91c37789601ac083ac6f5927f8005870840afeaf /ui/input-keymap.c
parent024d7cafd9b888dfcc5976513d808f5ba4508054 (diff)
hw/s390x/s390-virtio-ccw: Remove superfluous code to set the NIC model
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. Message-Id: <20230804073525.11857-1-thuth@redhat.com> Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'ui/input-keymap.c')
0 files changed, 0 insertions, 0 deletions