]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - sound/core/oss/mixer_oss.c
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[mirror_ubuntu-artful-kernel.git] / sound / core / oss / mixer_oss.c
index f4c67042e3ac16ba72bb6effe6a2e93550fc7bf5..3391f2a9b4d167150114deec246ce3cc7082978e 100644 (file)
@@ -1023,7 +1023,7 @@ static int snd_mixer_oss_build_input(struct snd_mixer_oss *mixer, struct snd_mix
        }
        up_read(&mixer->card->controls_rwsem);
        if (slot.present != 0) {
-               pslot = (struct slot *)kmalloc(sizeof(slot), GFP_KERNEL);
+               pslot = kmalloc(sizeof(slot), GFP_KERNEL);
                if (! pslot)
                        return -ENOMEM;
                *pslot = slot;