aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-04-16 23:29:12 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-04-16 23:29:12 +0000
commit5cf2cbca3ff1b534e01c3b95b8f739f4dbe7570c (patch)
treeab8645d52eb213e52a2ae5c5b5d934d856bd3dd1 /sys/dev/fb
parent17b27db088b856b1fec6d615fd7ee3cd2e5dbac1 (diff)
downloadsrc-5cf2cbca3ff1b534e01c3b95b8f739f4dbe7570c.tar.gz
src-5cf2cbca3ff1b534e01c3b95b8f739f4dbe7570c.zip
Fix a Clang warning.
Submitted by: arundel
Notes
Notes: svn path=/head/; revision=234362
Diffstat (limited to 'sys/dev/fb')
-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 cd70774f9500..c1432e2f005d 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;
}