As far as I can tell, it has no consumers whatsoever outside the tree. (wpa_supplicant did not even use it.) So, remove it altogether. If that turns out to be mistaken, we can reinstate it temporarily as a private class function or ABI-only symbol.