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/frontends/cx22700.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/frontends/cx22700.c') diff --git a/linux/drivers/media/dvb/frontends/cx22700.c b/linux/drivers/media/dvb/frontends/cx22700.c index 663002da3..a21227904 100644 --- a/linux/drivers/media/dvb/frontends/cx22700.c +++ b/linux/drivers/media/dvb/frontends/cx22700.c @@ -392,7 +392,7 @@ struct dvb_frontend* cx22700_attach(const struct cx22700_config* config, return &state->frontend; error: - if (state) kfree(state); + kfree(state); return NULL; } -- cgit v1.2.3