diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py index db944ae48c..8617251ca3 100644 --- a/bitbake/lib/bb/providers.py +++ b/bitbake/lib/bb/providers.py @@ -224,8 +224,6 @@ def _filterProviders(providers, item, cfgData, dataCache): continue eligible.remove(fn) eligible = [fn] + eligible - # sort eligible according to their DEFAULT_PREFERENCE - eligible.sort(lambda a, b: dataCache.pkg_dp[b] - dataCache.pkg_dp[a]) return eligible