X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=sound%2Foss%2Fv_midi.c;h=103940fd5b4f46e9e2ae7c8435acf64938679faa;hb=30ef898c535bffd105c1a9b9b6563969b3deb31e;hp=d952b2264da1da46fc0cb70e4e7228b0cf0f4817;hpb=13bbd8d90647132fc295d73b122567eb8987d298;p=~andy%2Flinux 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");