summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-08-29 11:36:15 -0600
committerSimon Glass <sjg@chromium.org>2020-09-22 12:50:43 -0600
commit2b522f1e79c358465886f90e2923764f58cca81d (patch)
tree6e06af753489c21f48cde5c04a77b46390e1bcb4 /tools
parent9fbfaba0a707eb4af2792b966a4f296f7778404f (diff)
tools: Drop unnecessary use of __file__
There are few places where the path of the current modules is calculated but not used. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/entry.py2
-rw-r--r--tools/buildman/test.py3
-rwxr-xr-xtools/rmboard.py3
3 files changed, 0 insertions, 8 deletions
diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index 3434a3f804..c17a98958b 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -16,8 +16,6 @@ from patman import tout
modules = {}
-our_path = os.path.dirname(os.path.realpath(__file__))
-
# An argument which can be passed to entries on the command line, in lieu of
# device-tree properties.
diff --git a/tools/buildman/test.py b/tools/buildman/test.py
index 3eaba07559..1a259d54ab 100644
--- a/tools/buildman/test.py
+++ b/tools/buildman/test.py
@@ -9,9 +9,6 @@ import tempfile
import time
import unittest
-# Bring in the patman libraries
-our_path = os.path.dirname(os.path.realpath(__file__))
-
from buildman import board
from buildman import bsettings
from buildman import builder
diff --git a/tools/rmboard.py b/tools/rmboard.py
index 06c3562ad8..de685638cf 100755
--- a/tools/rmboard.py
+++ b/tools/rmboard.py
@@ -28,9 +28,6 @@ import os
import re
import sys
-# Bring in the patman libraries
-our_path = os.path.dirname(os.path.realpath(__file__))
-
from patman import command
def rm_kconfig_include(path):