Commit 4671c204 authored by Daniel W. S. Almeida's avatar Daniel W. S. Almeida Committed by Mauro Carvalho Chehab

media: vidtv: remove unused field from 'struct vidtv_mpeg_ts'

Commit 3d1387b3 ("media: vidtv: fix some warnings") replaced
the unused flexible array member at the end of struct vidtv_mpeg_ts
with a pointer. This broke the 188-byte alignment since the struct
no longer was 4 bytes in size.

Fix this by removing this field entirely.

Fixes: 3d1387b3 ("media: vidtv: fix some warnings")
Signed-off-by: default avatarDaniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 0a933a7f
...@@ -44,7 +44,6 @@ struct vidtv_mpeg_ts { ...@@ -44,7 +44,6 @@ struct vidtv_mpeg_ts {
u8 adaptation_field:1; u8 adaptation_field:1;
u8 scrambling:2; u8 scrambling:2;
} __packed; } __packed;
struct vidtv_mpeg_ts_adaption *adaption;
} __packed; } __packed;
/** /**
......
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