[C] Remove unused method.