]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: amd: acp: Drop superfluous assignment in acp_sof_probe()
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 29 Apr 2025 10:29:43 +0000 (13:29 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 30 Apr 2025 00:38:22 +0000 (09:38 +0900)
commit85f380f2b9ab6e9a8753626fa3d8a3f4a323043a
tree26da21d1260cfee77f7becee157cb88ebe578ba2
parent822ecdacee0bb62dde7abbd20da51963b4c2b47d
ASoC: amd: acp: Drop superfluous assignment in acp_sof_probe()

The 'card' pointer is not required to be NULL initialized as it is never
accessed before the related memory allocation takes place.

Drop the redundant assignment.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patch.msgid.link/20250429-acp-sof-probe-assign-v1-1-9784f6eb7660@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-sof-mach.c