Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64542
b: refs/heads/master
c: c573f73
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Aug 27, 2007
1 parent 0486510 commit 5ad4e18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 901ded25fb98d76e55a8920834b173e7efc026b6
refs/heads/master: c573f73ce95d7e421cb4b9928dd41ac9518fcccf
6 changes: 2 additions & 4 deletions trunk/drivers/net/bsd_comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,7 @@ static void *bsd_alloc (unsigned char *options, int opt_len, int decomp)
* Allocate space for the dictionary. This may be more than one page in
* length.
*/
db->dict = (struct bsd_dict *) vmalloc (hsize *
sizeof (struct bsd_dict));
db->dict = vmalloc(hsize * sizeof(struct bsd_dict));
if (!db->dict)
{
bsd_free (db);
Expand All @@ -426,8 +425,7 @@ static void *bsd_alloc (unsigned char *options, int opt_len, int decomp)
*/
else
{
db->lens = (unsigned short *) vmalloc ((maxmaxcode + 1) *
sizeof (db->lens[0]));
db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0]));
if (!db->lens)
{
bsd_free (db);
Expand Down

0 comments on commit 5ad4e18

Please sign in to comment.