summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/tua6100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/tua6100.c')
-rw-r--r--drivers/media/dvb/frontends/tua6100.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/tua6100.c b/drivers/media/dvb/frontends/tua6100.c
index 88554393a9bf..6ba0029dcf2e 100644
--- a/drivers/media/dvb/frontends/tua6100.c
+++ b/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;
}