diff options
author | Bo Liu <liubo03@inspur.com> | 2022-06-17 07:59:52 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-06-24 08:49:48 +0200 |
commit | 03d9571706942fa653a4975709820596d13563c7 (patch) | |
tree | f4c23638d28313c15944a337fe430484d42618f8 /drivers/virtio/Kconfig | |
parent | virtio_ring : keep used_wrap_counter in vq->last_used_idx (diff) | |
download | linux-03d9571706942fa653a4975709820596d13563c7.tar.xz linux-03d9571706942fa653a4975709820596d13563c7.zip |
virtio: Remove unnecessary variable assignments
In function vp_modern_probe(), "pci_dev" is initialized with the
value of "mdev->pci_dev", so assigning "pci_dev" to "mdev->pci_dev"
is unnecessary since they store the same value.
Signed-off-by: Bo Liu <liubo03@inspur.com>
Message-Id: <20220617055952.5364-1-liubo03@inspur.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'drivers/virtio/Kconfig')
0 files changed, 0 insertions, 0 deletions