git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: sb: remove redundant assignment to variable result
[sfrench/cifs-2.6.git]
/
sound
/
isa
/
sb
/
sb_common.c
diff --git
a/sound/isa/sb/sb_common.c
b/sound/isa/sb/sb_common.c
index 162338f1b68af2341d2e144ead737d157a1688b2..ff031d670400ec2f0ccf4301dc77488e4fe185cf 100644
(file)
--- a/
sound/isa/sb/sb_common.c
+++ b/
sound/isa/sb/sb_common.c
@@
-80,7
+80,7
@@
int snd_sbdsp_reset(struct snd_sb *chip)
static int snd_sbdsp_version(struct snd_sb * chip)
{
- unsigned int result
= -ENODEV
;
+ unsigned int result;
snd_sbdsp_command(chip, SB_DSP_GET_VERSION);
result = (short) snd_sbdsp_get_byte(chip) << 8;