]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7dad62b34a4880bee21f6f6809809df268813348
tree2952f3b9d9531315c9985eed7d10d021ae4591b2
parentb65a69a9b14f55bee2e5a4e26c2c2b74eb7a576b
[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