Drop fallback to deprecated locale.getdefaultlocale

This API was deprecated in Python 3.11 [1].

[1] https://docs.python.org/3/library/locale.html#locale.getdefaultlocale

Change-Id: I6c42b83f4cb347b4f4ef913b13adcfbee7db1de8
diff --git a/neutron_tempest_plugin/common/ssh.py b/neutron_tempest_plugin/common/ssh.py
index 700d21b..6e7e2c5 100644
--- a/neutron_tempest_plugin/common/ssh.py
+++ b/neutron_tempest_plugin/common/ssh.py
@@ -230,8 +230,6 @@
 
             # Update local environment
             lang, encoding = locale.getlocale()
-            if not lang:
-                lang, encoding = locale.getdefaultlocale()
             _locale = '.'.join([lang, encoding])
             channel.update_environment({'LC_ALL': _locale,
                                         'LANG': _locale})