]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: ctxfi: Remove null check before kfree
authorHimanshu Jha <himanshujha199640@gmail.com>
Thu, 31 Aug 2017 15:06:42 +0000 (20:36 +0530)
committerTakashi Iwai <tiwai@suse.de>
Thu, 31 Aug 2017 18:10:30 +0000 (20:10 +0200)
commit39cdc62b1b4efa39831d4de22f990043b0304fff
treeabfd94323da95b2045c317eb19a07bd872d38202
parentc054c8a0c3a8a7e2ec2d6d5a628821f3cb832538
ALSA: ctxfi: Remove null check before kfree

kfree on NULL pointer is a no-op and therefore checking is redundant.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctresource.c
sound/pci/ctxfi/ctsrc.c