<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ip_link_delete(session, name):
 """ Deletes an interface record from Zebra protocol service database. The arguments are similar to "ip link delete" command of iproute2. :param session: Session instance connecting to database. :param name: Name of interface. :return: Name of interface which was deleted. None if failed. """

    intf = ip_link_show(session, ifname=name)
    if not intf:
        LOG.debug('Interface "%s" does not exist', name)
        return None

    session.delete(intf)

    return name