]> git.baikalelectronics.ru Git - kernel.git/commit
[media] netup_unidvb: Remove a useless memset
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Jan 2016 07:20:16 +0000 (05:20 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 11:45:31 +0000 (09:45 -0200)
commitb9a22dc3a5eb5f7e56c7616c8354721b66ba855d
tree954cf78f976e8d9a1b026ec31358fa3f6f43f912
parent5876d9a71aa74580cc3a2229c7f1016786674bc3
[media] netup_unidvb: Remove a useless memset

This memory is allocated using kzalloc so there is no need to call
memset(..., 0, ...)

[mchehab@osg.samsung.com: as suggested by Joe Perches,
 It's unusual to not see the alloc above the if, removed a
 blank line between kzalloc/if and added a blank line after if]
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/netup_unidvb/netup_unidvb_core.c