Cisco interview question

Write a function to remove a node from a linked list.