Remove some code that does nothing

As to `t_function.h`:
* `get_members` just returns `std::vector` field (const reference)
* `get_type` just returns a pointer field

so no side effects.