]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: vim2m: remove unused CLIP macro
authorYunseong Kim <ysk@kzalloc.com>
Mon, 14 Jul 2025 13:33:11 +0000 (22:33 +0900)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Fri, 29 Aug 2025 09:04:01 +0000 (11:04 +0200)
commit419f151de0beb5eb5755ded57766481bddb6ad26
tree4101550b1acf32a57a2774d742c3d723ad4fff73
parent2ac4eff9826d76373450a73aa8f554875ee34193
media: vim2m: remove unused CLIP macro

The CLIP macro, which was used to clamp color component values to the
[0, 255] range, is no longer used anywhere in the vim2m driver. Remove it
to clean up the code and avoid confusion.

The following issues were reported by checkpatch:
ERROR: Macros with complex values should be enclosed in parentheses

Signed-off-by: Yunseong Kim <ysk@kzalloc.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/test-drivers/vim2m.c