diff options
author | Michael Krufky <devnull@localhost> | 2005-10-27 06:01:39 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-10-27 06:01:39 +0000 |
commit | cfd767aac9bf7478e797ee0973767c8b52512626 (patch) | |
tree | a48e9e90babbb3850c5fb704bb9405a0c676c94a /linux/drivers/media/dvb | |
parent | e7aaa4aeb027638e3dbc80b6a77d12c2ff75d24b (diff) | |
download | mediapointer-dvb-s2-cfd767aac9bf7478e797ee0973767c8b52512626.tar.gz mediapointer-dvb-s2-cfd767aac9bf7478e797ee0973767c8b52512626.tar.bz2 |
Removed unnecessary check before kfree
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/frontends/nxt200x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/nxt200x.c b/linux/drivers/media/dvb/frontends/nxt200x.c index bd830b88c..e73a172a4 100644 --- a/linux/drivers/media/dvb/frontends/nxt200x.c +++ b/linux/drivers/media/dvb/frontends/nxt200x.c @@ -1159,8 +1159,7 @@ struct dvb_frontend* nxt200x_attach(const struct nxt200x_config* config, return &state->frontend; error: - if (state) - kfree(state); + kfree(state); printk("Unknown/Unsupported NXT chip: %02X %02X %02X %02X %02X\n", buf[0], buf[1], buf[2], buf[3], buf[4]); return NULL; |