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

V4L/DVB: az6027: az6027_read_mac_addr is currently unused

drivers/media/dvb/dvb-usb/az6027.c:759: warning: ‘az6027_read_mac_addr’ defined but not used

While there's some code that uses it, it is currently commented. So, comment also
the function itself.

CC: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

+2 -2
+2 -2
drivers/media/dvb/dvb-usb/az6027.c
··· 754 754 return 0; 755 755 } 756 756 757 - 757 + #if 0 758 758 static int az6027_read_mac_addr(struct dvb_usb_device *d, u8 mac[6]) 759 759 { 760 760 az6027_usb_in_op(d, 0xb7, 6, 0, &mac[0], 6); 761 761 return 0; 762 762 } 763 - 763 + #endif 764 764 765 765 static int az6027_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage) 766 766 {