diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-02-14 00:53:17 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-02-14 00:53:17 +0000 |
commit | 6904b8f563e3d0b1dfdb40c340fc7a22a019f6b5 (patch) | |
tree | 00e85424cd1cd9699703976b3f1f9b9407192d3e /sys/dev | |
parent | e8e4ac2cc0138af07aedae11143389000f936bec (diff) |
bus_space does byte swapping to cope with host endianness for us, so remove
an unnecessary htole32().
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/mfi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 0b73cac8623..16f149d0582 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.69 2007/02/13 02:38:31 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.70 2007/02/14 00:53:16 dlg Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -703,8 +703,8 @@ mfi_despatch_cmd(struct mfi_ccb *ccb) DNPRINTF(MFI_D_CMD, "%s: mfi_despatch_cmd\n", DEVNAME(ccb->ccb_sc)); - mfi_write(ccb->ccb_sc, MFI_IQP, htole32((ccb->ccb_pframe >> 3) | - ccb->ccb_extra_frames)); + mfi_write(ccb->ccb_sc, MFI_IQP, (ccb->ccb_pframe >> 3) | + ccb->ccb_extra_frames); return(0); } |