asr(4): Remove a case that is not a member of the enum being tested.
authorSascha Wildner <saw@online.de>
Thu, 21 Feb 2013 19:14:23 +0000 (20:14 +0100)
committerSascha Wildner <saw@online.de>
Thu, 21 Feb 2013 19:14:23 +0000 (20:14 +0100)
commit3fd202cb50f05840c73d61ad64406538f3f734a7
tree2b8cb76b63dd456ef2e87ff9464d38eb4249b10f
parent745b3d680d2ce4cd3bcca4b17105fc02ffcb0c03
asr(4): Remove a case that is not a member of the enum being tested.

Apparently xpt_opcode can wind up being REPORT_LUNS here. gcc47 warns
about it because REPORT_LUNS is not an enum xpt_opcode member.

FreeBSD just casted this away. Instead of doing that, remove it and
let the default case handle it (which has the same code as XPT_ABORT).

While here, fix a typo in a comment.
sys/dev/raid/asr/asr.c