Skip to content

Remove some obsolete and incorrect code from UPower and UDisks2 backend

Stefan Brüns requested to merge bruns/solid:work/cleanup_obsolete_code into master

The two inline helpers are not used anywhere, and in case of the UPower backend is even significantly incorrect (i.e. a stale copy of the UDisks2 code). The UDisks2 code was carried over from UDisks(1).


(Note: Even the initial implementation of UDisks(1) never used the helper, the only backend which apparently ever made use of it in the past is the now removed wmi backend, see https://invent.kde.org/unmaintained/kdelibs/-/blob/1c5b25966136b6099665477616fb4d38a98fd7ef/solid/solid/backends/wmi/wmidevice.cpp#L98).

Edited by Stefan Brüns

Merge request reports