From c47b4ac059887d222399286eb2e4dea319726adb Mon Sep 17 00:00:00 2001 From: Kenneth Aafloy Date: Wed, 9 Mar 2005 15:52:00 +0000 Subject: - kfree(NULL) is safe --- linux/drivers/media/dvb/bt8xx/dst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/bt8xx/dst.c') diff --git a/linux/drivers/media/dvb/bt8xx/dst.c b/linux/drivers/media/dvb/bt8xx/dst.c index 859946703..eac83768d 100644 --- a/linux/drivers/media/dvb/bt8xx/dst.c +++ b/linux/drivers/media/dvb/bt8xx/dst.c @@ -998,7 +998,7 @@ struct dvb_frontend* dst_attach(const struct dst_config* config, return &state->frontend; error: - if (state) kfree(state); + kfree(state); return NULL; } -- cgit v1.2.3