summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/or51211.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/or51211.c')
-rw-r--r--linux/drivers/media/dvb/frontends/or51211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/or51211.c b/linux/drivers/media/dvb/frontends/or51211.c
index b9153c7a6..1e8b1ea45 100644
--- a/linux/drivers/media/dvb/frontends/or51211.c
+++ b/linux/drivers/media/dvb/frontends/or51211.c
@@ -613,7 +613,7 @@ struct dvb_frontend* or51211_attach(const struct or51211_config* config,
return &state->frontend;
error:
- if (state) kfree(state);
+ kfree(state);
return NULL;
}