diff options
Diffstat (limited to 'drivers/media/dvb/frontends/dvb-pll.c')
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c index b7e7108ee5b3..78114fc26724 100644 --- a/drivers/media/dvb/frontends/dvb-pll.c +++ b/drivers/media/dvb/frontends/dvb-pll.c | |||
@@ -478,8 +478,7 @@ EXPORT_SYMBOL(dvb_pll_configure); | |||
478 | 478 | ||
479 | static int dvb_pll_release(struct dvb_frontend *fe) | 479 | static int dvb_pll_release(struct dvb_frontend *fe) |
480 | { | 480 | { |
481 | if (fe->tuner_priv) | 481 | kfree(fe->tuner_priv); |
482 | kfree(fe->tuner_priv); | ||
483 | fe->tuner_priv = NULL; | 482 | fe->tuner_priv = NULL; |
484 | return 0; | 483 | return 0; |
485 | } | 484 | } |