@@ -702,32 +702,6 @@ static inline void hypervisor_ppn_remove(PPN64 pfn)
702
702
/* Header to the text description of mksGuestStat instance descriptor */
703
703
#define MKSSTAT_KERNEL_DESCRIPTION "vmwgfx"
704
704
705
- /**
706
- * mksstat_init_record: Initializes an MKSGuestStatCounter-based record
707
- * for the respective mksGuestStat index.
708
- *
709
- * @stat_idx: Index of the MKSGuestStatCounter-based mksGuestStat record.
710
- * @pstat: Pointer to array of MKSGuestStatCounterTime.
711
- * @pinfo: Pointer to array of MKSGuestStatInfoEntry.
712
- * @pstrs: Pointer to current end of the name/description sequence.
713
- * Return: Pointer to the new end of the names/description sequence.
714
- */
715
-
716
- static inline char * mksstat_init_record (mksstat_kern_stats_t stat_idx ,
717
- MKSGuestStatCounterTime * pstat , MKSGuestStatInfoEntry * pinfo , char * pstrs )
718
- {
719
- char * const pstrd = pstrs + strlen (mksstat_kern_name_desc [stat_idx ][0 ]) + 1 ;
720
- strcpy (pstrs , mksstat_kern_name_desc [stat_idx ][0 ]);
721
- strcpy (pstrd , mksstat_kern_name_desc [stat_idx ][1 ]);
722
-
723
- pinfo [stat_idx ].name .s = pstrs ;
724
- pinfo [stat_idx ].description .s = pstrd ;
725
- pinfo [stat_idx ].flags = MKS_GUEST_STAT_FLAG_NONE ;
726
- pinfo [stat_idx ].stat .counter = (MKSGuestStatCounter * )& pstat [stat_idx ];
727
-
728
- return pstrd + strlen (mksstat_kern_name_desc [stat_idx ][1 ]) + 1 ;
729
- }
730
-
731
705
/**
732
706
* mksstat_init_record_time: Initializes an MKSGuestStatCounterTime-based record
733
707
* for the respective mksGuestStat index.
0 commit comments