aboutsummaryrefslogtreecommitdiffstats
path: root/tools/kvm
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2018-03-23 18:07:18 -0400
committerRadim Krčmář <rkrcmar@redhat.com>2018-03-28 22:47:06 +0200
commit1f97e01a385703c18ceb853c894ea09736161233 (patch)
treefe52c340345f024bc90f155372a893f4eae6adba /tools/kvm
parenttools/kvm_stat: Don't use deprecated file() (diff)
downloadlinux-dev-1f97e01a385703c18ceb853c894ea09736161233.tar.xz
linux-dev-1f97e01a385703c18ceb853c894ea09736161233.zip
tools/kvm_stat: Remove unused function
Unused since added in 18e8f4100 Signed-off-by: Cole Robinson <crobinso@redhat.com> Reviewed-and-tested-by: Stefan Raspl <stefan.raspl@linux.vnet.ibm.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'tools/kvm')
-rwxr-xr-xtools/kvm/kvm_stat/kvm_stat3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat
index 651b7f08bb2c..56c4b3f8a01b 100755
--- a/tools/kvm/kvm_stat/kvm_stat
+++ b/tools/kvm/kvm_stat/kvm_stat
@@ -1121,9 +1121,6 @@ class Tui(object):
self.screen.refresh()
def _refresh_body(self, sleeptime):
- def is_child_field(field):
- return field.find('(') != -1
-
def insert_child(sorted_items, child, values, parent):
num = len(sorted_items)
for i in range(0, num):