datapath: Remove declarations of functions that are never defined or used.