Commit 3fb24647 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: radio-si476x: drop a container_of() abstraction macro

This isn't used anywhere. So, drop it.
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent d5aa19c9
......@@ -312,12 +312,6 @@ struct si476x_radio {
u32 audmode;
};
static inline struct si476x_radio *
v4l2_dev_to_radio(struct v4l2_device *d)
{
return container_of(d, struct si476x_radio, v4l2dev);
}
static inline struct si476x_radio *
v4l2_ctrl_handler_to_radio(struct v4l2_ctrl_handler *d)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment