On (25/02/05 23:45), Andrew Morton wrote: > From: Yury Norov <yury.norov@xxxxxxxxx> > Subject: lib/zlib: drop EQUAL macro > Date: Wed, 5 Feb 2025 16:29:32 -0500 > > The macro is prehistoric, and only exists to help those readers who don't > know what memcmp() returns if memory areas differ. This is pretty well > documented, so the macro looks excessive. > > Now that the only user of the macro depends on DEBUG_ZLIB config, GCC > warns about unused macro if the library is built with W=2 against > defconfig. So drop it for good. > > Link: https://lkml.kernel.org/r/20250205212933.68695-1-yury.norov@xxxxxxxxx > Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx> > Cc: Heiko Carsten <heiko.carstens@xxxxxxxxxx> > Cc: Ilya Leoshkevich <iii@xxxxxxxxxxxxx> > Cc: Mikhail Zaslonko <zaslonko@xxxxxxxxxxxxx> > Cc: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> > Cc: Joe Perches <joe@xxxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> FWIW Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>