projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de9adb
)
[PATCH] emu10k1: mark midi_spinlock as used
author
Alexey Dobriyan
<adobriyan@gmail.com>
Sun, 25 Jun 2006 12:48:11 +0000
(
05:48
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:12 +0000
(10:01 -0700)
Why is it marked unused when in fact it's used?
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/emu10k1/midi.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/oss/emu10k1/midi.c
b/sound/oss/emu10k1/midi.c
index 25ae8e4a488db955db707f25c4dc876ef94f3d5b..8ac77df86397134c3087e0b87b0eeae1ede96946 100644
(file)
--- a/
sound/oss/emu10k1/midi.c
+++ b/
sound/oss/emu10k1/midi.c
@@
-45,7
+45,7
@@
#include "../sound_config.h"
#endif
-static DEFINE_SPINLOCK(midi_spinlock
__attribute((unused))
);
+static DEFINE_SPINLOCK(midi_spinlock);
static void init_midi_hdr(struct midi_hdr *midihdr)
{