[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 22 Jul 2014 04:02:52 +0000 (01:02 -0300)
commitf8ca6ac00d2ba24c5557f08f81439cd3432f0802
tree2952f3b9d9531315c9985eed7d10d021ae4591b2
parentb225e398f622c5f5579fb4fd14f8bcb0f953e650
[media] media-device: Remove duplicated memset() in media_enum_entities()

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.

CC: stable@vger.kernel.org
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>
drivers/media/media-device.c