summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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