aboutsummaryrefslogtreecommitdiff
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-02-23 19:20:02 +0900
committerJason Wang <jasowang@redhat.com>2023-03-10 15:35:38 +0800
commit156dc1555d98be9e7572138068e633c38aabc38e (patch)
tree71ca9b5829a979a7ce3e345a0987a4d4ff0310af /hw/net/virtio-net.c
parenteb4d8e25535a212bf2d304cf8b7491c5f92cf609 (diff)
downloadqemu-156dc1555d98be9e7572138068e633c38aabc38e.zip
qemu-156dc1555d98be9e7572138068e633c38aabc38e.tar.gz
qemu-156dc1555d98be9e7572138068e633c38aabc38e.tar.bz2
e1000e: Remove extra pointer indirection
e1000e_write_packet_to_guest() passes the reference of variable ba as a pointer to an array, and that pointer indirection is just unnecessary; all functions which uses the passed reference performs no pointer operation on the pointer and they simply dereference the passed pointer. Remove the extra pointer indirection. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions