ALSA: sb8: Add a comment note regarding an unused pointer
authorAtul Gopinathan <atulgopinathan@gmail.com>
Mon, 3 May 2021 11:57:02 +0000 (13:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 15:33:49 +0000 (17:33 +0200)
commita28591f61b60fac820c6de59826ffa710e5e314e
tree1b7b53c7309f11fd953ae968330f45f4cf0c6194
parent94f88309f201821073f57ae6005caefa61bf7b7e
ALSA: sb8: Add a comment note regarding an unused pointer

The field "fm_res" of "struct snd_sb8" is never used/dereferenced
throughout the sb8.c code. Therefore there is no need for any null value
check after the "request_region()".

Add a comment note to make developers know about this and prevent any
"NULL check" patches on this part of code.

Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Atul Gopinathan <atulgopinathan@gmail.com>
Link: https://lore.kernel.org/r/20210503115736.2104747-36-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/isa/sb/sb8.c