From 5cf2cbca3ff1b534e01c3b95b8f739f4dbe7570c Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Mon, 16 Apr 2012 23:29:12 +0000 Subject: Fix a Clang warning. Submitted by: arundel --- sys/dev/fb/s3_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') 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; } -- cgit v1.2.3