[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181211115607.13774-3-alice.ferrazzi@gmail.com>
Date: Tue, 11 Dec 2018 20:56:02 +0900
From: Alice Ferrazzi <alice.ferrazzi@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: ast@...nel.org, daniel@...earbox.net, shuah@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Alice Ferrazzi <alice.ferrazzi@...il.com>
Subject: [PATCH 2/7] selftest/bpf: optimize import
Fix PEP8 warnings
Signed-off-by: Alice Ferrazzi <alice.ferrazzi@...il.com>
---
tools/testing/selftests/bpf/tcp_client.py | 7 +++----
tools/testing/selftests/bpf/tcp_server.py | 7 ++++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tools/testing/selftests/bpf/tcp_client.py b/tools/testing/selftests/bpf/tcp_client.py
index c3c44633c801..ad3de27cd605 100755
--- a/tools/testing/selftests/bpf/tcp_client.py
+++ b/tools/testing/selftests/bpf/tcp_client.py
@@ -3,10 +3,9 @@
# SPDX-License-Identifier: GPL-2.0
#
-import sys, os, os.path, getopt
-import socket, time
-import subprocess
-import select
+import socket
+import sys
+
def read(sock, n):
buf = b''
diff --git a/tools/testing/selftests/bpf/tcp_server.py b/tools/testing/selftests/bpf/tcp_server.py
index 183d07509a0a..f7491517cc49 100755
--- a/tools/testing/selftests/bpf/tcp_server.py
+++ b/tools/testing/selftests/bpf/tcp_server.py
@@ -3,10 +3,11 @@
# SPDX-License-Identifier: GPL-2.0
#
-import sys, os, os.path, getopt
-import socket, time
-import subprocess
+import socket
+import os.path
import select
+import sys
+
def read(sock, n):
buf = b''
--
2.19.2
Powered by blists - more mailing lists