]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools: Drop unnecessary use of __file__
authorSimon Glass <sjg@chromium.org>
Sat, 29 Aug 2020 17:36:15 +0000 (11:36 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:50:43 +0000 (12:50 -0600)
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>
tools/binman/entry.py
tools/buildman/test.py
tools/rmboard.py

index 3434a3f8048cfdce271da9022ee47dbffc2eca27..c17a98958bd57ba1daa41f6de5bd8d8f4aefb6a9 100644 (file)
@@ -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.
index 3eaba07559b80388fae06148c23a99a96cfa870d..1a259d54ab01a6935cc01811660c519aaa193101 100644 (file)
@@ -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
index 06c3562ad8110968f897ae6bf3c1bc5cba0200fa..de685638cf16dc21985cf2c2b5d25cec077f096c 100755 (executable)
@@ -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):