summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/dvb-pll.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-11-19 17:49:11 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2006-11-19 17:49:11 -0500
commit2ae35ace4793a2030014f74c49856bbefb6f9e05 (patch)
tree5b141f17e80b368158a5d736b97ba8ae77d94097 /linux/drivers/media/dvb/frontends/dvb-pll.c
parent294d93fa8164775bbabde48a5b7cdb88a9b4c109 (diff)
downloadmediapointer-dvb-s2-2ae35ace4793a2030014f74c49856bbefb6f9e05.tar.gz
mediapointer-dvb-s2-2ae35ace4793a2030014f74c49856bbefb6f9e05.tar.bz2
drivers/media/dvb/frontends: kfree() cleanups
From: Michael Krufky <mkrufky@linuxtv.org> We don't have to check for NULL before kfree() Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dvb-pll.c')
-rw-r--r--linux/drivers/media/dvb/frontends/dvb-pll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/dvb-pll.c b/linux/drivers/media/dvb/frontends/dvb-pll.c
index b7e7108ee..78114fc26 100644
--- a/linux/drivers/media/dvb/frontends/dvb-pll.c
+++ b/linux/drivers/media/dvb/frontends/dvb-pll.c
@@ -478,8 +478,7 @@ EXPORT_SYMBOL(dvb_pll_configure);
static int dvb_pll_release(struct dvb_frontend *fe)
{
- if (fe->tuner_priv)
- kfree(fe->tuner_priv);
+ kfree(fe->tuner_priv);
fe->tuner_priv = NULL;
return 0;
}