X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=scripts%2Fcheckversion.pl;h=ec7d21161bdcb873ee38926c4097a23b44702880;hb=03ec52dea0f3c615b1b502672c189f296842f7dd;hp=9f84e562318d68983c4cf4f6a9fb69670b7f3b3f;hpb=123656d4cc8c946f578ebd18c2050f5251720428;p=powerpc.git diff --git a/scripts/checkversion.pl b/scripts/checkversion.pl index 9f84e56231..ec7d21161b 100755 --- a/scripts/checkversion.pl +++ b/scripts/checkversion.pl @@ -1,7 +1,7 @@ #! /usr/bin/perl # -# checkversion find uses of LINUX_VERSION_CODE, KERNEL_VERSION, or -# UTS_RELEASE without including , or cases of +# checkversion find uses of LINUX_VERSION_CODE or KERNEL_VERSION +# without including , or cases of # including that don't need it. # Copyright (C) 2003, Randy Dunlap @@ -41,8 +41,7 @@ foreach $file (@ARGV) } # Look for uses: LINUX_VERSION_CODE, KERNEL_VERSION, UTS_RELEASE - if (($_ =~ /LINUX_VERSION_CODE/) || ($_ =~ /\WKERNEL_VERSION/) || - ($_ =~ /UTS_RELEASE/)) { + if (($_ =~ /LINUX_VERSION_CODE/) || ($_ =~ /\WKERNEL_VERSION/)) { $fUseVersion = 1; last LINE if $iLinuxVersion; }