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>
This commit is contained in:
parent
9fbfaba0a7
commit
2b522f1e79
|
@ -16,8 +16,6 @@ from patman import tout
|
||||||
|
|
||||||
modules = {}
|
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
|
# An argument which can be passed to entries on the command line, in lieu of
|
||||||
# device-tree properties.
|
# device-tree properties.
|
||||||
|
|
|
@ -9,9 +9,6 @@ import tempfile
|
||||||
import time
|
import time
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
# Bring in the patman libraries
|
|
||||||
our_path = os.path.dirname(os.path.realpath(__file__))
|
|
||||||
|
|
||||||
from buildman import board
|
from buildman import board
|
||||||
from buildman import bsettings
|
from buildman import bsettings
|
||||||
from buildman import builder
|
from buildman import builder
|
||||||
|
|
|
@ -28,9 +28,6 @@ import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Bring in the patman libraries
|
|
||||||
our_path = os.path.dirname(os.path.realpath(__file__))
|
|
||||||
|
|
||||||
from patman import command
|
from patman import command
|
||||||
|
|
||||||
def rm_kconfig_include(path):
|
def rm_kconfig_include(path):
|
||||||
|
|
Loading…
Reference in New Issue