commit | 5edbd330e3a06557642ffb509cc2be39964e26a6 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Tue Nov 24 08:42:20 2020 +0100 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Thu Nov 26 08:05:24 2020 +0100 |
tree | 77cc29727939955ce18bca0b0ce8e1f56b290ca3 | |
parent | 160028542bb15868c2da0b88bda6335dce221c1c [diff] |
media: vidtv: simplify PSI write function The function vidtv_psi_ts_psi_write_into() initializes the ts_header fields several times, and receives a struct as argument, instead of using a pointer to struct. Cleanup the function, in order to reduce its stack usage and to avoid initializing the ts_header multiple times. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>