Fix incorrect comment for the WMI query function
Remove unused defintion