net: ipa: kill ipa_version_supported()
authorAlex Elder <elder@linaro.org>
Fri, 19 Apr 2024 15:18:00 +0000 (10:18 -0500)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 23 Apr 2024 11:08:08 +0000 (13:08 +0200)
commitdfdd70e24e3887886743b8681680da0ad07a24a7
tree02a4da94653dda526c03f560d765e8e42f488ab0
parent319b6d4ef08714ed593a5eb842deb249544c19e1
net: ipa: kill ipa_version_supported()

The only place ipa_version_supported() is called is in the probe
function.  The version comes from the match data.  Rather than
checking the version validity separately, just consider anything
that has match data to be supported.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ipa/ipa_main.c
drivers/net/ipa/ipa_version.h