From patchwork Fri Aug 27 15:20:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saleem Abdulrasool X-Patchwork-Id: 45856 From: abdulras@google.com (Saleem Abdulrasool) Date: Fri, 27 Aug 2021 15:20:13 +0000 Subject: [PATCH] lib: remove unused `STROF` definition (NFC) Message-ID: <20210827152013.4061770-1-abdulras@google.com> 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)