summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_ipack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_ipack.c b/linux/drivers/media/dvb/ttpci/av7110_ipack.c
index 7da276e5a..246640741 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_ipack.c
+++ b/linux/drivers/media/dvb/ttpci/av7110_ipack.c
@@ -37,8 +37,7 @@ int av7110_ipack_init(struct ipack *p, int size,
void av7110_ipack_free(struct ipack *p)
{
- if (p->buf)
- vfree(p->buf);
+ vfree(p->buf);
}