IR: Remove a redundant function. NFC