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:
parent
ce3123c324
commit
482c2c52e8
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user