diff options
Diffstat (limited to 'drivers/media/dvb/frontends/or51132.c')
-rw-r--r-- | drivers/media/dvb/frontends/or51132.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/or51132.c b/drivers/media/dvb/frontends/or51132.c index 817b044c7fd1..fc74c40d6477 100644 --- a/drivers/media/dvb/frontends/or51132.c +++ b/drivers/media/dvb/frontends/or51132.c | |||
@@ -577,8 +577,7 @@ struct dvb_frontend* or51132_attach(const struct or51132_config* config, | |||
577 | return &state->frontend; | 577 | return &state->frontend; |
578 | 578 | ||
579 | error: | 579 | error: |
580 | if (state) | 580 | kfree(state); |
581 | kfree(state); | ||
582 | return NULL; | 581 | return NULL; |
583 | } | 582 | } |
584 | 583 | ||