aboutsummaryrefslogtreecommitdiffstats
path: root/alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'alsa.c')
-rwxr-xr-xalsa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/alsa.c b/alsa.c
index a8609b4..a899bb1 100755
--- a/alsa.c
+++ b/alsa.c
@@ -65,8 +65,7 @@ static int alloc_dev_config(struct avirt_alsa_devconfig **devconfig,
if (numdevices == 0)
return 0;
- *devconfig = kzalloc(sizeof(*devconfig) * numdevices,
- GFP_KERNEL);
+ *devconfig = kzalloc(sizeof(**devconfig) * numdevices, GFP_KERNEL);
if (!(*devconfig))
return -ENOMEM;