Re: [PATCH V2][next] ASoC: rt722-sdca: Remove logically deadcode in rt722-sdca.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 10/10/24 13:35, Shuah Khan wrote:
On 10/10/24 11:57, Everest K.C. wrote:
As the same condition was checked in inner and outer if statements.
The code never reaches the inner else statement.
Fix this by removing the logically dead inner else statement.

Fixes: 7f5d6036ca00 ("ASoC: rt722-sdca: Add RT722 SDCA driver")
Reported-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
Closes: https://lore.kernel.org/all/e44527e8-b7c6-4712-97a6-d54f02ad2dc9@xxxxxxxxxxxxxxxxxxx/
Signed-off-by: Everest K.C. <everestkc@xxxxxxxxxxxxxxxx>
---
V1 -> V2: Added [next] tag


You don't need next tag for this. This patch is in the mainline.

Sorry meant to say this source file is in the mainline. You v1
is sufficient.

thanks,
-- Shuah




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux