Remove ptr from the list pointed to by *plist. Output: *plist is updated to be the start of the new list
null if *plist is null otherwise ptr
Remove ptr from the list pointed to by *plist. Output: *plist is updated to be the start of the new list