Remove unused logging import and LOG global var
In some modules the global LOG is not used any more. And the import of logging is not used. This patch removes the unused logging import and LOG vars. Change-Id: I28572c325f8c31ff38161010047bba00c5d5b833
This commit is contained in:
@@ -40,7 +40,6 @@ import copy
|
||||
|
||||
import jsonschema
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_serialization import jsonutils
|
||||
import six
|
||||
|
||||
@@ -71,8 +70,6 @@ PCI_NET_TAG = 'physical_network'
|
||||
CONF = cfg.CONF
|
||||
CONF.register_opts(pci_alias_opts)
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
_ALIAS_DEV_TYPE = ['NIC', 'ACCEL', 'GPU']
|
||||
_ALIAS_CAP_TYPE = ['pci']
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
# under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_serialization import jsonutils
|
||||
|
||||
from nova import exception
|
||||
@@ -32,8 +31,6 @@ pci_opts = [cfg.MultiStrOpt('pci_passthrough_whitelist',
|
||||
CONF = cfg.CONF
|
||||
CONF.register_opts(pci_opts)
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Whitelist(object):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user