CLN: infer_dtype has no skipna argument
infer_dtype function in `lib.py` has no `skipna` argument, although it is documented in the docstring:

```python
def infer_dtype(foo=None, bar=None): # real signature unknown; restored from __doc__
    """
    Efficiently infer the type of a passed val, or list-like
        array of values. Return a string describing the type.
    
        Parameters
        ----------
        value : scalar, list, ndarray, or pandas type
        skipna : bool, default True
            Ignore NaN values when inferring the type.
    
        Returns
        -------
        str
            Describing the common type of the input data.
        Results can include:
```

The method is called a couple times with the `skipna=True` argument. For example in:

- `pandas/core/algorithms.py` line 220
- `pandas/core/dtypes/cast.py` line 131

Is this expected behaviour? Should I rename `foo -> value` and `bar -> skipna`?

