remove function which doesn't even exist

Signed-off-by: Willi Ye <williye97@gmail.com>