]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/net/e1000: Remove unused E1000_FLAG_MAC flag
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 12 May 2025 08:39:35 +0000 (10:39 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 30 May 2025 07:52:08 +0000 (09:52 +0200)
commit0bf8727696267a79658998d844a96e35e0353602
treef7a838a4349e04c5162125962dbd5eac39f97bbf
parent60ce3f67bea0a782a58cf4f71840e8d20ef8ddfc
hw/net/e1000: Remove unused E1000_FLAG_MAC flag

E1000_FLAG_MAC was only used by the hw_compat_2_4[] array,
via the 'extra_mac_registers=off' property. We removed all
machines using that array, lets remove all the code around
E1000_FLAG_MAC, including the MAC_ACCESS_FLAG_NEEDED enum,
similarly to commit fa4ec9ffda7 ("e1000: remove old
compatibility code").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20250512083948.39294-7-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/net/e1000.c