diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2017-12-19 06:03:55 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-03-08 06:06:41 -0500 |
| commit | ab9bb73a0664595b76bb6e4a7ae10064aa58379f (patch) | |
| tree | e13ccac6d5bff26d10592c9768475152fc626584 /tools/perf/scripts/python | |
| parent | 39ad07b7de82bff26118a69e680cda3d081392dc (diff) | |
media: v4l2-subdev: get rid of __V4L2_SUBDEV_MK_GET_TRY() macro
X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com
media: v4l2-subdev: get rid of __V4L2_SUBDEV_MK_GET_TRY() macro
The __V4L2_SUBDEV_MK_GET_TRY() macro is used to define
3 functions that have the same arguments. The code of those
functions is simple enough to just declare them, de-obfuscating
the code.
While here, replace BUG_ON() by WARN_ON() as there's no reason
why to panic the Kernel if this fails.
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions