Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278994
b: refs/heads/master
c: 00d2ec0
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Dec 15, 2011
1 parent 61f7144 commit c179af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55e435de9153581fda21631f0e68bb793072234d
refs/heads/master: 00d2ec0c5f5ae8507931efd8feb174f30370c12e
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,6 @@ static struct si_info *ai_doattach(struct si_info *sii,
struct bcma_device *cc;
uint socitype;

memset((unsigned char *) sii, 0, sizeof(struct si_info));

savewin = 0;

sii->icbus = pbus;
Expand Down Expand Up @@ -677,7 +675,7 @@ ai_attach(struct bcma_bus *pbus)
struct si_info *sii;

/* alloc struct si_info */
sii = kmalloc(sizeof(struct si_info), GFP_ATOMIC);
sii = kzalloc(sizeof(struct si_info), GFP_ATOMIC);
if (sii == NULL)
return NULL;

Expand Down

0 comments on commit c179af3

Please sign in to comment.