diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-10-24 00:10:35 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-10-24 00:10:35 +0000 |
commit | a09b6b8851c72d9ac3a178cd9ecfe5e075c6d52f (patch) | |
tree | bfa489f2cef515181bd2f777280ff8122ac98b83 /linux/drivers/media/dvb/frontends/l64781.c | |
parent | 575f44e16d90ff185f7dde17955967e6d4b3e603 (diff) | |
download | mediapointer-dvb-s2-a09b6b8851c72d9ac3a178cd9ecfe5e075c6d52f.tar.gz mediapointer-dvb-s2-a09b6b8851c72d9ac3a178cd9ecfe5e075c6d52f.tar.bz2 |
From: Jesper Juhl <jesper.juhl@gmail.com>
This is the drivers/media/ part of the big kfree cleanup patch.
Remove pointless checks for NULL prior to calling kfree() in drivers/media/.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Johannes Stezenbach <js@linuxtv.org>
Cc: Michael Krufky <mkrufky@m1k.net>
Cc: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/l64781.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/l64781.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/l64781.c b/linux/drivers/media/dvb/frontends/l64781.c index faaad1ae8..19b4bf7c2 100644 --- a/linux/drivers/media/dvb/frontends/l64781.c +++ b/linux/drivers/media/dvb/frontends/l64781.c @@ -559,7 +559,8 @@ struct dvb_frontend* l64781_attach(const struct l64781_config* config, return &state->frontend; error: - if (reg0x3e >= 0) l64781_writereg (state, 0x3e, reg0x3e); /* restore reg 0x3e */ + if (reg0x3e >= 0) + l64781_writereg (state, 0x3e, reg0x3e); /* restore reg 0x3e */ kfree(state); return NULL; } |