Commit b43db25d authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: [idt77252] vfree() checking cleanups

Signed-off by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 24c78a4e
...@@ -3136,13 +3136,10 @@ deinit_card(struct idt77252_dev *card) ...@@ -3136,13 +3136,10 @@ deinit_card(struct idt77252_dev *card)
} }
} }
if (card->soft_tst)
vfree(card->soft_tst); vfree(card->soft_tst);
if (card->scd2vc)
vfree(card->scd2vc); vfree(card->scd2vc);
if (card->vcs)
vfree(card->vcs); vfree(card->vcs);
if (card->raw_cell_hnd) { if (card->raw_cell_hnd) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment