summary refs log tree commit diff stats
path: root/hw/net/net_tx_pkt.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/net_tx_pkt.c
parenteb4d8e25535a212bf2d304cf8b7491c5f92cf609 (diff)
downloadfocaccia-qemu-156dc1555d98be9e7572138068e633c38aabc38e.tar.gz
focaccia-qemu-156dc1555d98be9e7572138068e633c38aabc38e.zip
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/net_tx_pkt.c')
0 files changed, 0 insertions, 0 deletions