aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/v_midi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/v_midi.c')
-rw-r--r--sound/oss/v_midi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/v_midi.c b/sound/oss/v_midi.c
index d952b2264da..103940fd5b4 100644
--- a/sound/oss/v_midi.c
+++ b/sound/oss/v_midi.c
@@ -183,7 +183,7 @@ static void __init attach_v_midi (struct address_info *hw_config)
return;
}
- m=(struct vmidi_memory *)kmalloc(sizeof(struct vmidi_memory), GFP_KERNEL);
+ m = kmalloc(sizeof(struct vmidi_memory), GFP_KERNEL);
if (m == NULL)
{
printk(KERN_WARNING "Loopback MIDI: Failed to allocate memory\n");