relay: remove redundant assignment to pointer buf