diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-11-19 17:49:11 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-11-19 17:49:11 -0500 |
commit | 2ae35ace4793a2030014f74c49856bbefb6f9e05 (patch) | |
tree | 5b141f17e80b368158a5d736b97ba8ae77d94097 /linux/drivers/media/dvb/frontends/tua6100.c | |
parent | 294d93fa8164775bbabde48a5b7cdb88a9b4c109 (diff) | |
download | mediapointer-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/tua6100.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tua6100.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/tua6100.c b/linux/drivers/media/dvb/frontends/tua6100.c index 88554393a..6ba0029dc 100644 --- a/linux/drivers/media/dvb/frontends/tua6100.c +++ b/linux/drivers/media/dvb/frontends/tua6100.c @@ -43,8 +43,7 @@ struct tua6100_priv { static int tua6100_release(struct dvb_frontend *fe) { - if (fe->tuner_priv) - kfree(fe->tuner_priv); + kfree(fe->tuner_priv); fe->tuner_priv = NULL; return 0; } |