X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fcheckversion.pl;h=ec7d21161bdcb873ee38926c4097a23b44702880;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=df10db662eb1d510c7811c8d31c29d398ca8da9c;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/scripts/checkversion.pl b/scripts/checkversion.pl index df10db662..ec7d21161 100755 --- a/scripts/checkversion.pl +++ b/scripts/checkversion.pl @@ -1,9 +1,9 @@ #! /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 +# Copyright (C) 2003, Randy Dunlap $| = 1; @@ -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; }