summaryrefslogtreecommitdiff
path: root/tools/patman/patman.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-29 21:31:27 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-09 02:21:59 (GMT)
commitdb116cc8d095ec499ae748ea864fa0def54ca3d6 (patch)
tree75115dace6e2dcf656fce1752914cbbac5925604 /tools/patman/patman.py
parent04f7870635dff90ddc1b8465b5b8304c2d429a92 (diff)
downloadu-boot-db116cc8d095ec499ae748ea864fa0def54ca3d6.tar.xz
patman: Don't return the series in FixPatches()
There is no need for this function to return the same object that was passed in. Drop the return value. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'tools/patman/patman.py')
-rwxr-xr-xtools/patman/patman.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py
index fdbee67..63da3f3 100755
--- a/tools/patman/patman.py
+++ b/tools/patman/patman.py
@@ -141,8 +141,8 @@ else:
series)
# Fix up the patch files to our liking, and insert the cover letter
- series = patchstream.FixPatches(series, args)
- if series and cover_fname and series.get('cover'):
+ patchstream.FixPatches(series, args)
+ if cover_fname and series.get('cover'):
patchstream.InsertCoverLetter(cover_fname, series, options.count)
# Do a few checks on the series