mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-16 16:35:45 +00:00
Remove redundant MSRINFO_DEFINED macro.
This commit is contained in:
parent
24d7c318d0
commit
571fe75d88
1 changed files with 0 additions and 4 deletions
|
@ -491,7 +491,6 @@ int cpu_msr_driver_close(struct msr_driver_t* driver)
|
|||
return set_error(ERR_NOT_IMP);
|
||||
}
|
||||
|
||||
#define MSRINFO_DEFINED
|
||||
int cpu_rdmsr_range(struct msr_driver_t* handle, uint32_t msr_index, uint8_t highbit,
|
||||
uint8_t lowbit, uint64_t* result)
|
||||
{
|
||||
|
@ -779,8 +778,6 @@ static double get_info_bus_clock(struct msr_driver_t* handle, struct cpu_id_t *i
|
|||
return CPU_INVALID_VALUE;
|
||||
}
|
||||
|
||||
#ifndef MSRINFO_DEFINED
|
||||
|
||||
int cpu_rdmsr_range(struct msr_driver_t* handle, uint32_t msr_index, uint8_t highbit,
|
||||
uint8_t lowbit, uint64_t* result)
|
||||
{
|
||||
|
@ -839,6 +836,5 @@ int cpu_msrinfo(struct msr_driver_t* handle, cpu_msrinfo_request_t which)
|
|||
return CPU_INVALID_VALUE;
|
||||
}
|
||||
}
|
||||
#endif // MSRINFO_DEFINED
|
||||
|
||||
#endif // RDMSR_UNSUPPORTED_OS
|
||||
|
|
Loading…
Reference in a new issue