[PATCH 3/3] Removing unused imports from guest scripts

Lucas Meneghel Rodrigues
2011-01-24T04:22:21Z

client/tests/kvm/scripts/ksm_overcommit_guest.py | 2 +-
client/tests/kvm/scripts/virtio_console_guest.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/client/tests/kvm/scripts/ksm_overcommit_guest.py b/client/tests/kvm/scripts/ksm_overcommit_guest.py
index 09dc004..d52be5b 100644
--- a/client/tests/kvm/scripts/ksm_overcommit_guest.py
+++ b/client/tests/kvm/scripts/ksm_overcommit_guest.py
@@ -8,7 +8,7 @@ Auxiliary script used to allocate memory on guests.
"""

-import os, array, sys, struct, random, copy, inspect, tempfile, datetime, math
+import os, array, sys, random, copy, tempfile, datetime, math

PAGE_SIZE = 4096 # machine page size

diff --git a/client/tests/kvm/scripts/virtio_console_guest.py b/client/tests/kvm/scripts/virtio_console_guest.py
index 35efb7d..c407231 100755
--- a/client/tests/kvm/scripts/virtio_console_guest.py
+++ b/client/tests/kvm/scripts/virtio_console_guest.py
@@ -9,8 +9,8 @@ Auxiliary script used to send data between ports on guests.
"""
import threading
from threading import Thread
-import os, time, select, re, random, sys, array
-import fcntl, subprocess, traceback, signal
+import os, select, re, random, sys, array
+import fcntl, traceback, signal

DEBUGPATH = "/sys/kernel/debug"
SYSFSPATH = "/sys/class/virtio-ports/"
--
1.7.3.4