scripts: Revert "scripts: Add support for the UEK_RELEASE macro"

This reverts commit 0d025a2e.

Remove unused UEK_RELEASE macro support.
This commit is contained in:
Gleb Chesnokov
2024-01-09 18:33:31 +03:00
parent be9d368361
commit 04ea811e8d
2 changed files with 1 additions and 4 deletions

View File

@@ -252,8 +252,6 @@ function evaluate(stmnt, pattern, arg, op, result) {
gsub("defined\\(_COMPAT_LINUX_MM_H\\)", "0", stmnt)
gsub("defined\\(UEK_KABI_RENAME\\)", UEK_KABI_RENAME ? "1" : "0", stmnt)
gsub("defined\\(UEK_RELEASE\\)", UEK_RELEASE ? "1" : "0", stmnt)
gsub("UEK_RELEASE", UEK_RELEASE ? UEK_RELEASE : "0", stmnt)
if (SCST_IO_CONTEXT != "")
{
@@ -460,7 +458,6 @@ function handle_if(evaluated)
|| $0 ~ "RHEL_RELEASE_CODE" \
|| $0 ~ "SOCK_RECVMSG_HAS_FOUR_ARGS" \
|| $0 ~ "UEK_KABI_RENAME" \
|| $0 ~ "UEK_RELEASE" \
|| $0 ~ "USE_PRE_440_WR_STRUCTURE" \
|| $0 ~ "_COMPAT_LINUX_MM_H" \
|| $0 ~ "bio_multiple_segments" \