media: media-device: Remove duplicated memset() in media_enum_entities()
authorSalva Peiró <speiro@ai2.upv.es>
Sat, 7 Jun 2014 14:41:44 +0000 (11:41 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:19:06 +0000 (09:19 -0700)
commit45f5ff8b66765f19fbd34b6a0ef49047c3c4a0a5
treeaf2cd3f09566b973ae994e0af729ffe2b0a61b0a
parentdccf12f4879e9462ab1ba8bfc760d7355765504b
media: media-device: Remove duplicated memset() in media_enum_entities()

commit f8ca6ac00d2ba24c5557f08f81439cd3432f0802 upstream.

After the zeroing the whole struct struct media_entity_desc u_ent,
it is no longer necessary to memset(0) its u_ent.name field.

Signed-off-by: Salva Peiró <speiro@ai2.upv.es>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/media-device.c