mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 00:29:50 +00:00
[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:
parent
2da8eab975
commit
18552ea132
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user