OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0866c31
)
tools/kvm_stat: Remove unused function
author
Cole Robinson
<crobinso@redhat.com>
Fri, 23 Mar 2018 22:07:18 +0000
(18:07 -0400)
committer
Radim Krčmář
<rkrcmar@redhat.com>
Wed, 28 Mar 2018 20:47:06 +0000
(22:47 +0200)
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>
tools/kvm/kvm_stat/kvm_stat
patch
|
blob
|
history
diff --git
a/tools/kvm/kvm_stat/kvm_stat
b/tools/kvm/kvm_stat/kvm_stat
index
651b7f0
..
56c4b3f
100755
(executable)
--- 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):