[media] media: ivtv: Remove redundant NULL check before kfree

kfree on NULL pointer is a no-op.

Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Syam Sidhardhan 2013-02-26 15:28:15 -03:00 committed by Mauro Carvalho Chehab
parent 2da8eab975
commit 18552ea132

View File

@ -1171,7 +1171,6 @@ static void ivtvfb_release_buffers (struct ivtv *itv)
fb_dealloc_cmap(&oi->ivtvfb_info.cmap);
/* Release pseudo palette */
if (oi->ivtvfb_info.pseudo_palette)
kfree(oi->ivtvfb_info.pseudo_palette);
#ifdef CONFIG_MTRR