diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-19 06:03:55 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-08 06:06:41 -0500 |
| commit | ab9bb73a0664595b76bb6e4a7ae10064aa58379f (patch) | |
| tree | e13ccac6d5bff26d10592c9768475152fc626584 /tools/perf/scripts/python/netdev-times.py | |
| parent | 39ad07b7de82bff26118a69e680cda3d081392dc (diff) | |
| download | cachepc-linux-ab9bb73a0664595b76bb6e4a7ae10064aa58379f.tar.gz cachepc-linux-ab9bb73a0664595b76bb6e4a7ae10064aa58379f.zip | |
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 <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
