From 904b9adbb38adc3db91b316961390da3211bd74f Mon Sep 17 00:00:00 2001 From: Xinyuan Huang Date: Fri, 14 Aug 2015 16:50:05 +0800 Subject: [PATCH] Small clean up in volume object This call of __init__() is unnecessary. Change-Id: I1513d4c392ef773d990a3b3f339fe87622a8c5b5 --- cinder/objects/volume.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/cinder/objects/volume.py b/cinder/objects/volume.py index 69920c0b7..6270c55c0 100644 --- a/cinder/objects/volume.py +++ b/cinder/objects/volume.py @@ -94,9 +94,6 @@ class Volume(base.CinderPersistentObject, base.CinderObject, def name(self): return CONF.volume_name_template % self.name_id - def __init__(self, *args, **kwargs): - super(Volume, self).__init__(*args, **kwargs) - def obj_make_compatible(self, primitive, target_version): """Make an object representation compatible with a target version.""" target_version = utils.convert_version_to_tuple(target_version) -- 2.45.2