[PATCH 3/3] ASoC: wm_adsp: Remove pointless string comparison

Mark Brown broonie at kernel.org
Mon Jun 28 18:58:37 CEST 2021


On Sat, Jun 26, 2021 at 04:59:41PM +0100, Charles Keepax wrote:

> The control fw_name is always directly assigned from the wm_adsp_fw_text
> array, so it isn't necessary to compare the actual strings just the
> pointer values.

This feels like it's asking for trouble in the future...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210628/dad4bdac/attachment.sig>


More information about the Alsa-devel mailing list