Re: [PATCH] staging: rtl8723bs: change custom comparing function to memcmp()

From: Andy Shevchenko

Date: Sat Feb 28 2026 - 05:41:53 EST


On Fri, Feb 27, 2026 at 11:06:37PM +0300, Bera Yüzlü wrote:
> eqNByte() function is a redundant reimplementation of memcmp().
> Remove eqNByte() and switch its usages to memcmp().
> No functional change.

Can be something better like using match_string(), but that will require more
study of the code and can be done later on.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko