summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2023-07-12 17:01:22 +0300
committerTakashi Iwai <tiwai@suse.de>2023-07-13 09:08:08 +0300
commit645e583d2689a1dd2163da28a7789b4d9febf316 (patch)
treea2beecf07b7f3aea63067cc07b43f25876328196 /sound/pci
parent35bc3efb3157cc5a9c3b5853591c4dcef40f6029 (diff)
downloadlinux-645e583d2689a1dd2163da28a7789b4d9febf316.tar.xz
selftests: ALSA: Fix fclose on an already fclosed file pointer
In the case where a sysfs file cannot be opened the error return path fcloses file pointer fpl, however, fpl has already been closed in the previous stanza. Fix the double fclose by removing it. Fixes: 10b98a4db11a ("selftests: ALSA: Add test for the 'pcmtest' driver") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230712140122.457206-1-colin.i.king@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions