diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-05-16 23:11:49 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-05-16 23:11:49 +0000 |
commit | 57f04265418a627983903a75995e80465e6a51c1 (patch) | |
tree | 5b469fb53a86be5c47e1d5ccce0e4bad0817fbba /sys/dev | |
parent | d53837a959446b4bf9e4517ab21211a50cbe68b0 (diff) |
Nuke some { }
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/mfi.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 3e9f3f0a352..61fe8b35534 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.34 2006/05/16 23:05:25 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.35 2006/05/16 23:11:48 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -640,12 +640,11 @@ mfi_generic_scsi(struct scsi_xfer *xs) ccb->ccb_xs = xs; /* XXX here or in mfi_start_xs? */ ccb->ccb_frame_size = MFI_PASS_FRAME_SIZE; ccb->ccb_sgl = &pf->mpf_sgl; - if (xs->flags & (SCSI_DATA_IN | SCSI_DATA_OUT)) { + if (xs->flags & (SCSI_DATA_IN | SCSI_DATA_OUT)) ccb->ccb_direction = xs->flags & SCSI_DATA_IN ? MFI_DATA_IN : MFI_DATA_OUT; - } else { + else ccb->ccb_direction = 0; - } return (mfi_start_xs(sc, ccb, xs)); } |