summaryrefslogtreecommitdiffstats
path: root/drivers/net/sk_mca.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sk_mca.c')
-rw-r--r--drivers/net/sk_mca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sk_mca.c b/drivers/net/sk_mca.c
index a98da4115..51688271a 100644
--- a/drivers/net/sk_mca.c
+++ b/drivers/net/sk_mca.c
@@ -1290,7 +1290,7 @@ void cleanup_module(void)
mca_mark_as_unused(priv->slot);
#endif
mca_set_adapter_procfn(priv->slot, NULL, NULL);
- kfree_s(dev->priv, sizeof(skmca_priv));
+ kfree(dev->priv);
dev->priv = NULL;
}
}