Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

media: c8sectpfe: dvb: remove unnecessary (void*) conversions

Pointer variables of void * type do not require type cast.

Link: https://lore.kernel.org/linux-media/20230320070828.13322-1-yuzhe@nfschina.com
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Yu Zhe and committed by
Mauro Carvalho Chehab
a41ef786 633733f5

+2 -2
+2 -2
drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-core.c
··· 135 135 static int c8sectpfe_start_feed(struct dvb_demux_feed *dvbdmxfeed) 136 136 { 137 137 struct dvb_demux *demux = dvbdmxfeed->demux; 138 - struct stdemux *stdemux = (struct stdemux *)demux->priv; 138 + struct stdemux *stdemux = demux->priv; 139 139 struct c8sectpfei *fei = stdemux->c8sectpfei; 140 140 struct channel_info *channel; 141 141 u32 tmp; ··· 256 256 { 257 257 258 258 struct dvb_demux *demux = dvbdmxfeed->demux; 259 - struct stdemux *stdemux = (struct stdemux *)demux->priv; 259 + struct stdemux *stdemux = demux->priv; 260 260 struct c8sectpfei *fei = stdemux->c8sectpfei; 261 261 struct channel_info *channel; 262 262 int idlereq;