summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb/s3_pci.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-04-16 23:29:12 +0000
committerjkim <jkim@FreeBSD.org>2012-04-16 23:29:12 +0000
commitc73bd7ac42a9d94a6ea0080924b122874617570b (patch)
treeab8645d52eb213e52a2ae5c5b5d934d856bd3dd1 /sys/dev/fb/s3_pci.c
parent3b775730320ea9c88d8c7091a746322761727255 (diff)
downloadFreeBSD-src-c73bd7ac42a9d94a6ea0080924b122874617570b.zip
FreeBSD-src-c73bd7ac42a9d94a6ea0080924b122874617570b.tar.gz
Fix a Clang warning.
Submitted by: arundel
Diffstat (limited to 'sys/dev/fb/s3_pci.c')
-rw-r--r--sys/dev/fb/s3_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/s3_pci.c b/sys/dev/fb/s3_pci.c
index cd70774..c1432e2 100644
--- a/sys/dev/fb/s3_pci.c
+++ b/sys/dev/fb/s3_pci.c
@@ -513,7 +513,7 @@ s3pci_attach(device_t dev)
/* Attach the driver to the VGA/VESA framework
*/
for (i = 0; (adp = vid_get_adapter(i)) != NULL; ++i) {
- if ((adp->va_type == KD_VGA))
+ if (adp->va_type == KD_VGA)
break;
}
OpenPOWER on IntegriCloud