mirror of https://gitee.com/openkylin/linux.git
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:
parent
6e4e4447d4
commit
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) {
|
||||
|
|
Loading…
Reference in New Issue