projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git]
/
sound
/
oss
/
ad1848.c
diff --git
a/sound/oss/ad1848.c
b/sound/oss/ad1848.c
index 0ffa9970bf0ff307cee68b9698c3bffc63f3eee9..7cf9913a47b26ca4e3adb02a25e2538542913463 100644
(file)
--- a/
sound/oss/ad1848.c
+++ b/
sound/oss/ad1848.c
@@
-1992,7
+1992,7
@@
int ad1848_init (char *name, struct resource *ports, int irq, int dma_playback,
devc->audio_flags |= DMA_DUPLEX;
}
- portc =
(ad1848_port_info *)
kmalloc(sizeof(ad1848_port_info), GFP_KERNEL);
+ portc = kmalloc(sizeof(ad1848_port_info), GFP_KERNEL);
if(portc==NULL) {
release_region(devc->base, 4);
return -1;