diff mbox series

pc_q35: remove unnecessary m->alias assignment

Message ID 20240325135906.1372946-1-pbonzini@redhat.com
State New
Headers show
Series pc_q35: remove unnecessary m->alias assignment | expand

Commit Message

Paolo Bonzini March 25, 2024, 1:59 p.m. UTC
The assignment is already inherited from pc-q35-8.2. -s
---
 hw/i386/pc_q35.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Peter Maydell March 25, 2024, 2:02 p.m. UTC | #1
On Mon, 25 Mar 2024 at 13:59, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The assignment is already inherited from pc-q35-8.2. -s

Missing signed-off-by and a stray "-s" in the commit message :-)

-- PMM
Paolo Bonzini March 25, 2024, 2:02 p.m. UTC | #2
On Mon, Mar 25, 2024 at 3:02 PM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Mon, 25 Mar 2024 at 13:59, Paolo Bonzini <pbonzini@redhat.com> wrote:
> >
> > The assignment is already inherited from pc-q35-8.2. -s
>
> Missing signed-off-by and a stray "-s" in the commit message :-)

You can probably guess that the two are related. :)

Paolo
diff mbox series

Patch

diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index b5922b44afa..c7bc8a2041f 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -393,7 +393,6 @@  static void pc_q35_8_1_machine_options(MachineClass *m)
 {
     PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
     pc_q35_8_2_machine_options(m);
-    m->alias = NULL;
     pcmc->broken_32bit_mem_addr_check = true;
     compat_props_add(m->compat_props, hw_compat_8_1, hw_compat_8_1_len);
     compat_props_add(m->compat_props, pc_compat_8_1, pc_compat_8_1_len);