From c73bd7ac42a9d94a6ea0080924b122874617570b Mon Sep 17 00:00:00 2001 From: jkim 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/fb/s3_pci.c') 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; } -- cgit v1.1