[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 7/9] x86/mtrr: drop unused positive_have_wrcomb()
Unused function, gone. Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx> --- xen/arch/x86/cpu/mtrr/generic.c | 5 ----- xen/arch/x86/cpu/mtrr/mtrr.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/xen/arch/x86/cpu/mtrr/generic.c b/xen/arch/x86/cpu/mtrr/generic.c index 1d67035..012aca4 100644 --- a/xen/arch/x86/cpu/mtrr/generic.c +++ b/xen/arch/x86/cpu/mtrr/generic.c @@ -555,8 +555,3 @@ int mtrr_generic_have_wrcomb(void) rdmsrl(MSR_MTRRcap, config); return (config & (1ULL << 10)); } - -int positive_have_wrcomb(void) -{ - return 1; -} diff --git a/xen/arch/x86/cpu/mtrr/mtrr.h b/xen/arch/x86/cpu/mtrr/mtrr.h index 9391fc5..9405cbc 100644 --- a/xen/arch/x86/cpu/mtrr/mtrr.h +++ b/xen/arch/x86/cpu/mtrr/mtrr.h @@ -22,8 +22,6 @@ void mtrr_generic_set(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type); int mtrr_generic_have_wrcomb(void); -extern int positive_have_wrcomb(void); - /* library functions for processor-specific routines */ struct set_mtrr_context { unsigned long flags; -- 2.7.3 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |