No functional change. Only moving from the case
to its own function.

Cc: Jani Nikula <jani.nik...@intel.com>
Cc: Daniel Vetter <daniel.vet...@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
---
 qf | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/qf b/qf
index fe19204de461..b7f6c116f341 100755
--- a/qf
+++ b/qf
@@ -170,12 +170,6 @@ function quilt_clean_check
 }
 
 case "$1" in
-       baseline)
-               cd_toplevel
-               repo_check 1
-
-               echo $baseline
-               ;;
        git|g)
                cd_toplevel
                cd patches
@@ -503,6 +497,14 @@ function qf_list_unused_patches
        done
 }
 
+function qf_baseline
+{
+       cd_toplevel
+       repo_check 1
+
+       echo $baseline
+}
+
 function qf_help
 {
        manpage=$DIM_PREFIX/maintainer-tools/qf.rst
-- 
2.13.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to