From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <3sAIpYQgKDmkHIKbSYHZNVVNSL.JVTLSMbaPSZ-KLcLSZVbYJLdHYL.VYN@flex--abdulras.bounces.google.com> Received: from mail-qv1-xf4a.google.com (mail-qv1-xf4a.google.com [IPv6:2607:f8b0:4864:20::f4a]) by sourceware.org (Postfix) with ESMTPS id 13EEE3858C60 for ; Fri, 27 Aug 2021 15:20:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 13EEE3858C60 Received: by mail-qv1-xf4a.google.com with SMTP id w6-20020a0cfc46000000b00370b0997afeso234195qvp.15 for ; Fri, 27 Aug 2021 08:20:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=wdnphRinoP8AVu58pR0m5etVawYOBfZ3TnQSyia93OE=; b=a8NhURnZulDjl0EAVn6jwp+uDkBlyqNK9T60gnW0I536ABBInrL5AeLV9TO3Qv71h6 RNOHlX8M66Ls9yGgSPOyOSZMBswaUGF9Y59NuCB4D+3Az85jq9TUxB7b6a7dGthdkCdg z7xFI8HfCnBrwA1MLBptB4z9P+h7OEynEHCDSBOb5liXF1w/scbiS60FT1J1T7GcAP1K fiRNF3fXUwn7djEOiRSkXsh6UATYIR/bJFv3O4dIRoxG6mfM8hp6KEoTZMggN84xp4+u 9mAwT2i47pHxyxVU9z12m6MT46iwC96mvVqWBh9ItnwiP+C2j9T174a1ZLjsp0iWCG4N Fs7w== X-Gm-Message-State: AOAM531IJ2dYBC97/+/pRrs8LaSupk+7qJnyN2eoUX1has6367W5lMOj WXopKXuVc6+ij/7Iu+3jo8fR2jKrPhyIC0odN8NrUQQsfphJDYGYesZg+NvygOIlnJ/jeo9EwkI 7cDkqtwietICVXSNfbl6BwD4YRnx7/O3Cm33GOiGd2tSOrU22v3R3uzbi1cF1DMVFD/PvWGjJYp lG X-Google-Smtp-Source: ABdhPJyaHl5fKVcmRPpnNY5pdA00Qou8AOaciIgnedtfTIv3L9fJ3FiKPDS6B7iai2Wg25DIT47rq0E4O5WVKA== X-Received: from abdulras-llvm.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:219b]) (user=abdulras job=sendgmr) by 2002:a05:6214:490:: with SMTP id ay16mr10468540qvb.0.1630077616625; Fri, 27 Aug 2021 08:20:16 -0700 (PDT) Date: Fri, 27 Aug 2021 15:20:13 +0000 Message-Id: <20210827152013.4061770-1-abdulras@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.33.0.259.gc128427fd7-goog Subject: [PATCH] lib: remove unused `STROF` definition (NFC) From: Saleem Abdulrasool To: elfutils-devel@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-21.4 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2021 15:20:18 -0000 This definition was in the fallback path, where `sys/cdefs.h` is not available. Now that we have a single path through here, this macro gets defined, though is unused. Remove the unused macro definition. Signed-off-by: Saleem Abdulrasool --- lib/ChangeLog | 4 ++++ lib/fixedsizehash.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index a95f8041..5f1de1e2 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2021-08-21 Saleem Abdulrasool + + * fixedsizehash.h: Remove unused STROF macro. + 2021-08-20 Saleem Abdulrasool * fixedsizehash.h: Remove sys/cdefs.h include. Unconditionally diff --git a/lib/fixedsizehash.h b/lib/fixedsizehash.h index f333ad99..14f0fb88 100644 --- a/lib/fixedsizehash.h +++ b/lib/fixedsizehash.h @@ -33,7 +33,6 @@ #include -#define STROF(t2) t2 #define CONCAT_EXPANDED(t1,t2) t1 ## t2 #define CONCAT(t1,t2) CONCAT_EXPANDED(t1,t2) -- 2.33.0.259.gc128427fd7-goog