prefs: remove unused variables