]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: rc: reduce useless padding in struct rc_dev etc
authorSean Young <sean@mess.org>
Mon, 1 Jul 2024 09:11:49 +0000 (10:11 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Mar 2025 14:56:11 +0000 (15:56 +0100)
commiteb9919b541ad6c6342340c4b492f129210224b7a
tree6e4bd082cc64811a61c6f8a63a40d5b72337e7e5
parent8bab784bbd80a7228a6ebf1e89aa6bb785d882df
media: rc: reduce useless padding in struct rc_dev etc

Reorder the fields in these structs so that we waste less space due to
padding. pahole shows that lirc_fh is 8 bytes smaller, and rc_dev is 32
bytes smaller.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/rc/rc-core-priv.h
include/media/rc-core.h