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