move an assignment up.

This commit is contained in:
christos 2005-03-26 04:37:04 +00:00
parent 55ef051c47
commit 24ae046714
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fwohci.c,v 1.84 2005/02/27 00:27:17 perry Exp $ */
/* $NetBSD: fwohci.c,v 1.85 2005/03/26 04:37:04 christos Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.84 2005/02/27 00:27:17 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.85 2005/03/26 04:37:04 christos Exp $");
#define FWOHCI_WAIT_DEBUG 1
@ -5050,7 +5050,7 @@ fwohci_ir_read(struct device *dev, ieee1394_ir_tag_t tag, struct uio *uio,
}
#endif /* USEDRAIN */
fd = irc->irc_readtop;
fdprev = fd = irc->irc_readtop;
#if 0
if ((irc->irc_status & IRC_STATUS_RECEIVE) == 0
@ -5058,7 +5058,6 @@ fwohci_ir_read(struct device *dev, ieee1394_ir_tag_t tag, struct uio *uio,
unsigned int s;
int i = 0;
fdprev = fd;
while (fd->fd_status != 0) {
s = data[14] << 8;
s |= data[15];