https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192247
Bug ID: 192247 Summary: [cam][cd] READ_CD_CAPACITY could be reaped from scsi_cd.h Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: yaneurab...@gmail.com READ_CAPACITY and READ_CD_CAPACITY have the same value in cam(4). Not sure if this was intentional given the comment in scsi_cd.h, but the value in scsi_cd.h could probably be reaped because it wasn't used in the tree (apart from that header). $ egrep 'READ_.*CAPACITY' /usr/src/sys/cam/scsi/scsi_all.h /usr/src/sys/cam/scsi/scsi_cd.h /usr/src/sys/cam/scsi/scsi_all.h:#define READ_CAPACITY 0x25 /usr/src/sys/cam/scsi/scsi_cd.h:#define READ_CD_CAPACITY 0x25 /* slightly different from disk */ $ grep -r READ_CD_CAPACITY /usr/src/ /usr/src/sys/cam/scsi/scsi_cd.h:#define READ_CD_CAPACITY 0x25 /* slightly different from disk */ $ -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"