Fix the build (on at least powerpc) by moving the htole16() from the case(x) expression directly to the switch(x) itself.

Reviewed by:	imp@
This commit is contained in:
rink 2008-11-04 19:28:19 +00:00
parent ce3123c324
commit 482c2c52e8

View File

@ -392,10 +392,10 @@ zyd_intr_read_callback(struct usb2_xfer *xfer)
usb2_copy_out(xfer->frbuffers, 0,
&sc->sc_intr_ibuf, actlen);
switch (cmd->code) {
case htole16(ZYD_NOTIF_RETRYSTATUS):
switch (htole16(cmd->code)) {
case ZYD_NOTIF_RETRYSTATUS:
goto handle_notif_retrystatus;
case htole16(ZYD_NOTIF_IORD):
case ZYD_NOTIF_IORD:
goto handle_notif_iord;
default:
DPRINTFN(2, "unknown indication: 0x%04x\n",