ALSA: timer: remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 31 Mar 2017 15:21:41 +0000 (18:21 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 31 Mar 2017 15:27:02 +0000 (17:27 +0200)
commite8ed68205f39a7a934901eab80a5cbf3a062b7b4
treed1003b050e1f28c77f76e2adac452c15c8dbfa21
parent5885615e44faebaf379fa0cdd2b9c084960dae38
ALSA: timer: remove some dead code

We just checked "id.card < 0" on the lines before so we know it's not
true here.  We can delete that check.

Also checkpatch.pl complains about some extra curly braces so we may as
well fix that while we're at it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c