From 53cf8caccd36bfcf8874776c02086d2da1ca6c76 Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Fri, 23 Aug 2013 14:40:04 +0900 Subject: [PATCH] Remove unused methods from LVM driver _set_execute() has been unused since b569df9, and _size_str() has been done since f4a9429. So this patch removes them for clean-up. Change-Id: If8a2703afb08623b69ec6adc105cf58b0e4a15dc --- cinder/brick/local_dev/lvm.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cinder/brick/local_dev/lvm.py b/cinder/brick/local_dev/lvm.py index dbd5d474c..5f4050029 100644 --- a/cinder/brick/local_dev/lvm.py +++ b/cinder/brick/local_dev/lvm.py @@ -88,18 +88,6 @@ class LVM(executor.Executor): else: self.vg_thin_pool = pool_name - def _set_execute(self, execute): - self._execute = execute - - def _size_str(self, size_in_g): - if '.00' in size_in_g: - size_in_g = size_in_g.replace('.00', '') - - if int(size_in_g) == 0: - return '100m' - - return '%sg' % size_in_g - def _vg_exists(self): """Simple check to see if VG exists. -- 2.45.2