kbuild: clean up scripts/headers.sh
authorAmerigo Wang <amwang@redhat.com>
Fri, 5 Jun 2009 02:12:09 +0000 (22:12 -0400)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 9 Jun 2009 20:37:43 +0000 (22:37 +0200)
'drop' variable is unused.

'ppc' and 'sparc64' directories don't exist in arch/,
and I think their headers can be well exported now, so
just remove them.

Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/headers.sh

index d33426f866dbbc4ef9078f5bbce492edb06a2223..0308ecc10d5b133858a15bf9f46b3cb2f424d4d6 100755 (executable)
@@ -15,19 +15,12 @@ do_command()
        fi
 }
 
-# Do not try this architecture
-drop="generic um ppc sparc64 cris"
-
 archs=$(ls ${srctree}/arch)
 
 for arch in ${archs}; do
        case ${arch} in
        um)        # no userspace export
                ;;
-       ppc)       # headers exported by powerpc
-               ;;
-       sparc64)   # headers exported by sparc
-               ;;
        cris)      # headers export are known broken
                ;;
        *)