summaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/com20020_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/com20020_cs.c')
-rw-r--r--drivers/net/pcmcia/com20020_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/com20020_cs.c b/drivers/net/pcmcia/com20020_cs.c
index 85d5c86eb..0c914aec2 100644
--- a/drivers/net/pcmcia/com20020_cs.c
+++ b/drivers/net/pcmcia/com20020_cs.c
@@ -333,10 +333,10 @@ static void com20020_detach(dev_link_t *link)
kfree(dev);
}
DEBUG(1,"kfree2...\n");
- kfree_s(info, sizeof(struct com20020_dev_t));
+ kfree(info);
}
DEBUG(1,"kfree3...\n");
- kfree_s(link, sizeof(struct dev_link_t));
+ kfree(link);
} /* com20020_detach */