[eventloop] Remove unneeded api on Linux; needs checking on FreeBSD.