diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index c783c390872b..05946414abc6 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -3053,7 +3053,6 @@ aac_ioctl_send_raw_srb(struct aac_softc *sc, caddr_t arg) struct aac_fib *fib; struct aac_srb *srbcmd, *user_srb; struct aac_sg_entry *sge; - struct aac_sg_entry64 *sge64; void *srb_sg_address, *ureply; uint32_t fibsize, srb_sg_bytecount; int error, transfer_data; @@ -3108,7 +3107,6 @@ aac_ioctl_send_raw_srb(struct aac_softc *sc, caddr_t arg) struct aac_sg_entry sg; sge = srbcmd->sg_map.SgEntry; - sge64 = NULL; if ((error = copyin(sge, &sg, sizeof(sg))) != 0) goto out; @@ -3119,6 +3117,7 @@ aac_ioctl_send_raw_srb(struct aac_softc *sc, caddr_t arg) #ifdef __amd64__ else if (fibsize == (sizeof(struct aac_srb) + srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { + struct aac_sg_entry64 *sge64; struct aac_sg_entry64 sg; sge = NULL;