diff options
Diffstat (limited to 'drivers/isdn/hardware')
-rw-r--r-- | drivers/isdn/hardware/avm/avm_cs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/isdn/hardware/avm/avm_cs.c b/drivers/isdn/hardware/avm/avm_cs.c index db9bad2b3d16..27391c32f3eb 100644 --- a/drivers/isdn/hardware/avm/avm_cs.c +++ b/drivers/isdn/hardware/avm/avm_cs.c | |||
@@ -212,11 +212,8 @@ static void avmcs_detach(dev_link_t *link) | |||
212 | 212 | ||
213 | /* Unlink device structure, free pieces */ | 213 | /* Unlink device structure, free pieces */ |
214 | *linkp = link->next; | 214 | *linkp = link->next; |
215 | if (link->priv) { | 215 | kfree(link->priv); |
216 | kfree(link->priv); | ||
217 | } | ||
218 | kfree(link); | 216 | kfree(link); |
219 | |||
220 | } /* avmcs_detach */ | 217 | } /* avmcs_detach */ |
221 | 218 | ||
222 | /*====================================================================== | 219 | /*====================================================================== |