Patchwork kern-tools: Remove superfluous references to "defconfig" from the "createme" script.

login
register
mail settings
Submitter Robert P. J. Day
Date July 21, 2012, 2:34 p.m.
Message ID <alpine.DEB.2.02.1207211030490.13090@oneiric>
Download mbox | patch
Permalink /patch/32789/
State New
Headers show

Comments

Robert P. J. Day - July 21, 2012, 2:34 p.m.
Since the only current call to "createme" from do_patch() doesn't pass
a defconfig argument, remove the apparently superfluous references to
defconfig from createme, but leave the check_defconfig() function in
just in case it ever becomes useful.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  not sure if this is the right list for kern-tools patches ... should
these things go to the new kernel mailing list?

Patch

diff --git a/tools/createme b/tools/createme
index 78e98ac..219e92d 100755
--- a/tools/createme
+++ b/tools/createme
@@ -19,7 +19,7 @@  usage()
 {
 cat << EOF

-    createme [-v] [--disable-meta-gen] --meta=<branch name> <arch> <branch> [defconfig]
+    createme [-v] [--disable-meta-gen] --meta=<branch name> <arch> <branch>

       --disable-meta-gen: do not automatically create meta data
                           if not already present in the source tree.
@@ -62,7 +62,6 @@  done

 arch=$1
 branch=$2
-defconfig=$3 # might be empty
 CURRENT=`git branch |grep \*|sed 's/^\* //'`
 repo=

@@ -194,7 +193,6 @@  check_defconfig() {
 # being built
 check_branch() {
 	branch=$1
-	defconfig=$2

 	ktgt=$branch

@@ -217,6 +215,5 @@  check_branch() {


 decheckpoint
-check_defconfig $defconfig
-check_branch $branch $defconfig
+check_branch $branch
 metaize $branch