summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-05-13 10:28:04 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-05-13 14:12:53 +0200
commite66dc8546cc32f828c290fea029cffce5b1157d9 (patch)
tree071c2639b031fe486e73973bc24cfdf55c3f0ddd
parentc261fdaa3bc36e02c7c3b94397e8de4764b05165 (diff)
downloadptxdist-e66dc8546cc32f828c290fea029cffce5b1157d9.tar.gz
ptxdist-e66dc8546cc32f828c290fea029cffce5b1157d9.tar.xz
git-ptx-patches: Remove useless assignment
range is overwritten unconditionally after option parsing, so drop the assignment. Its only effect was irritating a human reader. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Message-Id: <20220513082804.264481-1-u.kleine-koenig@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xscripts/git-ptx-patches1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/git-ptx-patches b/scripts/git-ptx-patches
index 8bf1731ae..fe3d1b619 100755
--- a/scripts/git-ptx-patches
+++ b/scripts/git-ptx-patches
@@ -64,7 +64,6 @@ while getopts "aft:n" opt; do
;;
t)
tag="${OPTARG}"
- range="${tag}"
;;
n)
numbered_patches=false