Hi Manu,

While going through the daily build compiler warnings I came across this one:

v4l-dvb-git/drivers/media/dvb/bt8xx/dst_ca.c: In function 'ca_send_message':
v4l-dvb-git/drivers/media/dvb/bt8xx/dst_ca.c:480:15: warning: variable 
'ca_message_header_len' set but not used [-Wunused-but-set-variable]

This variable is indeed set once but unused afterwards. The assignment is:

ca_message_header_len = p_ca_message->length;   /* Restore it back when you are 
done */

Obviously it is not restored as the comment says.

Is this a bug or just old code that can be removed?

Regards,

        Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to