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

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
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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)
{