X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=sound%2Foss%2Fv_midi.c;h=103940fd5b4f46e9e2ae7c8435acf64938679faa;hb=42dd2aa6496a2e87e496aac5494d2e1d6096c85b;hp=d952b2264da1da46fc0cb70e4e7228b0cf0f4817;hpb=97d41e90fe61399b99d74820cb7f2d6e0fbac91d;p=linux-beck.git diff --git a/sound/oss/v_midi.c b/sound/oss/v_midi.c index d952b2264da1..103940fd5b4f 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");