pub unsafe fn remove_useless_joins( arg_root: *mut PlannerInfo, arg_joinlist: *mut List) -> *mut List