]> code.delx.au - pulseaudio/commit
alsa: Remove a redundant check
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 29 Jan 2014 18:59:00 +0000 (20:59 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 3 Mar 2014 16:06:21 +0000 (18:06 +0200)
commit9271c11e68ebf1a2781eaf65c1f7d2f836c10280
treed187bec3bc3a553b6a16d7e13159c4f603458ed6
parent3f21c216282098e0aaaa3c80cad1479e4f32937a
alsa: Remove a redundant check

If mixer_handle is not NULL, then hctl_handle won't be NULL either.
The redundant check was confusing, because it looked like we would
leak the mixer_handle if mixer_handle is non-NULL and hctl_handle is
NULL.
src/modules/alsa/alsa-mixer.c