summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2/flexcop.c
diff options
context:
space:
mode:
authorKenneth Aafloy <devnull@localhost>2005-03-09 15:52:00 +0000
committerKenneth Aafloy <devnull@localhost>2005-03-09 15:52:00 +0000
commitc47b4ac059887d222399286eb2e4dea319726adb (patch)
tree9ccaf39ebb357c5038ff25e848798c0b33e67f90 /linux/drivers/media/dvb/b2c2/flexcop.c
parent493f26ca4fb6e69acc47779bb04d0901b1018290 (diff)
downloadmediapointer-dvb-s2-c47b4ac059887d222399286eb2e4dea319726adb.tar.gz
mediapointer-dvb-s2-c47b4ac059887d222399286eb2e4dea319726adb.tar.bz2
- kfree(NULL) is safe
Diffstat (limited to 'linux/drivers/media/dvb/b2c2/flexcop.c')
-rw-r--r--linux/drivers/media/dvb/b2c2/flexcop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/b2c2/flexcop.c b/linux/drivers/media/dvb/b2c2/flexcop.c
index 0e3501123..ddc057a24 100644
--- a/linux/drivers/media/dvb/b2c2/flexcop.c
+++ b/linux/drivers/media/dvb/b2c2/flexcop.c
@@ -218,8 +218,7 @@ EXPORT_SYMBOL(flexcop_device_kmalloc);
void flexcop_device_kfree(struct flexcop_device *fc)
{
- if (fc != NULL)
- kfree(fc->bus_specific);
+ kfree(fc->bus_specific);
kfree(fc);
}
EXPORT_SYMBOL(flexcop_device_kfree);