media: Remove useless curly braces and parentheses
Simplify the code to satisfy Linux coding style. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Родитель
6e4e4447d4
Коммит
10e81bcdde
|
@ -591,9 +591,8 @@ int __must_check media_device_register_entity(struct media_device *mdev,
|
|||
&entity->pads[i].graph_obj);
|
||||
|
||||
/* invoke entity_notify callbacks */
|
||||
list_for_each_entry_safe(notify, next, &mdev->entity_notify, list) {
|
||||
(notify)->notify(entity, notify->notify_data);
|
||||
}
|
||||
list_for_each_entry_safe(notify, next, &mdev->entity_notify, list)
|
||||
notify->notify(entity, notify->notify_data);
|
||||
|
||||
if (mdev->entity_internal_idx_max
|
||||
>= mdev->pm_count_walk.ent_enum.idx_max) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче