aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/hal2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/hal2.c')
-rw-r--r--sound/oss/hal2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/hal2.c b/sound/oss/hal2.c
index 784bdd707055..d18286ccc14d 100644
--- a/sound/oss/hal2.c
+++ b/sound/oss/hal2.c
@@ -1435,7 +1435,7 @@ static int hal2_init_card(struct hal2_card **phal2, struct hpc3_regs *hpc3)
1435 int ret = 0; 1435 int ret = 0;
1436 struct hal2_card *hal2; 1436 struct hal2_card *hal2;
1437 1437
1438 hal2 = (struct hal2_card *) kmalloc(sizeof(struct hal2_card), GFP_KERNEL); 1438 hal2 = kmalloc(sizeof(struct hal2_card), GFP_KERNEL);
1439 if (!hal2) 1439 if (!hal2)
1440 return -ENOMEM; 1440 return -ENOMEM;
1441 memset(hal2, 0, sizeof(struct hal2_card)); 1441 memset(hal2, 0, sizeof(struct hal2_card));