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/cx22702.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/frontends/cx22702.c') diff --git a/linux/drivers/media/dvb/frontends/cx22702.c b/linux/drivers/media/dvb/frontends/cx22702.c index 7bcff1c62..1930b513e 100644 --- a/linux/drivers/media/dvb/frontends/cx22702.c +++ b/linux/drivers/media/dvb/frontends/cx22702.c @@ -476,7 +476,7 @@ struct dvb_frontend* cx22702_attach(const struct cx22702_config* config, return &state->frontend; error: - if (state) kfree(state); + kfree(state); return NULL; } -- cgit v1.2.3