diff options
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c b/linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c index ff0e5212a..1699cc9f6 100644 --- a/linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c +++ b/linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c @@ -169,7 +169,7 @@ struct dvb_frontend* ttusbdecfe_dvbt_attach(const struct ttusbdecfe_config* conf return &state->frontend; error: - if (state) kfree(state); + kfree(state); return NULL; } @@ -195,7 +195,7 @@ struct dvb_frontend* ttusbdecfe_dvbs_attach(const struct ttusbdecfe_config* conf return &state->frontend; error: - if (state) kfree(state); + kfree(state); return NULL; } |