V4L/DVB: az6027: az6027_read_mac_addr is currently unused
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 17 Feb 2010 23:13:19 +0000 (21:13 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:59 +0000 (15:10 -0300)
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>
drivers/media/dvb/dvb-usb/az6027.c

index e8d5d0508cb092c8025a6930093e053050b75c18..919ca94eb41313da0e88002bf91d43e307996480 100644 (file)
@@ -754,13 +754,13 @@ static int az6027_ci_init(struct dvb_usb_adapter *a)
        return 0;
 }
 
-
+#if 0
 static int az6027_read_mac_addr(struct dvb_usb_device *d, u8 mac[6])
 {
        az6027_usb_in_op(d, 0xb7, 6, 0, &mac[0], 6);
        return 0;
 }
-
+#endif
 
 static int az6027_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
 {