ALSA: timer: Code cleanup
authorTakashi Iwai <tiwai@suse.de>
Thu, 14 Jan 2016 16:01:46 +0000 (17:01 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 15 Feb 2016 20:45:30 +0000 (15:45 -0500)
commitaef523ec3812f822fdd256f64c0d941a0588647f
tree1345555c7ea43abfb7624f29684cc910ba41b749
parentb55a0342e88343fbca10e8a1ac5f6aa1c001f40f
ALSA: timer: Code cleanup

[ Upstream commit c3b1681375dc6e71d89a3ae00cc3ce9e775a8917 ]

This is a minor code cleanup without any functional changes:
- Kill keep_flag argument from _snd_timer_stop(), as all callers pass
  only it false.
- Remove redundant NULL check in _snd_timer_stop().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/core/timer.c