dst_ca.c warning: can ca_send_message be removed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux