summaryrefslogtreecommitdiff
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2003-12-24 04:11:10 +0000
committerBruce Evans <bde@FreeBSD.org>2003-12-24 04:11:10 +0000
commitab99f13b167c938dddc12564cc1f7ae8542067c7 (patch)
treec60dbb84038690da53c2b7b10196d0090fd4ea16 /sys/dev/sio/sio.c
parentd571e11b4fcfcdf3a11ee4631f3fe0f59cfad5b5 (diff)
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 1e06b59fdc69..bd842f46463f 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -1066,7 +1066,7 @@ sioattach(dev, xrid, rclk)
com->tx_fifo_size = 1024;
break;
}
- if (com->esp != NULL)
+ if (com->esp)
break;
#endif
com->tx_fifo_size = COM_FIFOSIZE(flags);
@@ -1078,7 +1078,7 @@ sioattach(dev, xrid, rclk)
break;
}
#ifdef COM_ESP
- if (com->esp != NULL) {
+ if (com->esp) {
/*
* Set 16550 compatibility mode.
* We don't use the ESP_MODE_SCALE bit to increase the