/* Remove Absolute Pointer Device from Consplitter Absolute Pointer list. */
EFI_STATUS ConSplitterAbsolutePointerDeleteDevice(IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private, IN EFI_ABSOLUTE_POINTER_PROTOCOL *AbsolutePointer)
/* Remove Absolute Pointer Device from Consplitter Absolute Pointer list. */
EFI_STATUS ConSplitterAbsolutePointerDeleteDevice(IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private, IN EFI_ABSOLUTE_POINTER_PROTOCOL *AbsolutePointer)
{
  UINTN  Index;
  for (Index = 0; Index < Private->CurrentNumberOfAbsolutePointers; Index++) {
    if (Private->AbsolutePointerList[Index] == AbsolutePointer) {
      for ( ; Index < Private->CurrentNumberOfAbsolutePointers - 1; Index++) {
        Private->AbsolutePointerList[Index] = Private->AbsolutePointerList[Index + 1];
      }
      Private->CurrentNumberOfAbsolutePointers--;
      return EFI_SUCCESS;
    }
  }
  return EFI_NOT_FOUND;
}