Skip to content

Commit

Permalink
pc: clean up COMPAT macro chaining
Browse files Browse the repository at this point in the history
Since commit
 bacc344 ("machine: add properties to compat_props incrementaly")
there is no need to chain per machine type compat macro.

Clean up places where it was done anyway so it will be
consistent and won't confuse contributors during addtion
of new machine types.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
  • Loading branch information
Igor Mammedov authored and mstsirkin committed Sep 23, 2016
1 parent 973e717 commit 2e09103
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/hw/i386/pc.h
Expand Up @@ -375,7 +375,6 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);


#define PC_COMPAT_2_7 \
PC_COMPAT_2_8 \
HW_COMPAT_2_7

#define PC_COMPAT_2_6 \
Expand Down Expand Up @@ -405,7 +404,6 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
},

#define PC_COMPAT_2_5 \
PC_COMPAT_2_6 \
HW_COMPAT_2_5

/* Helper for setting model-id for CPU models that changed model-id
Expand Down

0 comments on commit 2e09103

Please sign in to comment.