diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-07 22:51:47 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-07 22:51:47 -0500 |
commit | 6b995751c2e851d2bc9c277b5884d0adb519e31d (patch) | |
tree | 7a15b41b5d8ce612915584a0773c670d5c0ab5b8 /drivers/bluetooth/bt3c_cs.c | |
parent | 6c2f4267833f453156f8f439cc32eb4c92f357b4 (diff) | |
parent | d27ba47e7e8c466c18983a1779d611f82d6a354f (diff) |
Merge branch 'master'
Diffstat (limited to 'drivers/bluetooth/bt3c_cs.c')
-rw-r--r-- | drivers/bluetooth/bt3c_cs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index 2e0338d80f32..d2a0add19cc8 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c | |||
@@ -671,10 +671,9 @@ static dev_link_t *bt3c_attach(void) | |||
671 | int ret; | 671 | int ret; |
672 | 672 | ||
673 | /* Create new info device */ | 673 | /* Create new info device */ |
674 | info = kmalloc(sizeof(*info), GFP_KERNEL); | 674 | info = kzalloc(sizeof(*info), GFP_KERNEL); |
675 | if (!info) | 675 | if (!info) |
676 | return NULL; | 676 | return NULL; |
677 | memset(info, 0, sizeof(*info)); | ||
678 | 677 | ||
679 | link = &info->link; | 678 | link = &info->link; |
680 | link->priv = info; | 679 | link->priv = info; |