Michael Krufky <mkrufky@xxxxxxx> wrote:Alexey Dobriyan wrote:
+static int tdvs_tua6034_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
+{
+ struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv;
The cast of a void* is unneeded. It's actually undesirable: if someone
were to convert the thing-being-casted to some other scalar type, the cast
would prevent the desired compiler warning.
Please, alsoBoth of these problems are all over dvb-kernel... We'll fix it up.
struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
^ ^