svn commit: r234362 - head/sys/dev/fb

Jung-uk Kim jkim at FreeBSD.org
Mon Apr 16 23:29:12 UTC 2012


Author: jkim
Date: Mon Apr 16 23:29:12 2012
New Revision: 234362
URL: http://svn.freebsd.org/changeset/base/234362

Log:
  Fix a Clang warning.
  
  Submitted by:	arundel

Modified:
  head/sys/dev/fb/s3_pci.c

Modified: head/sys/dev/fb/s3_pci.c
==============================================================================
--- head/sys/dev/fb/s3_pci.c	Mon Apr 16 23:19:21 2012	(r234361)
+++ head/sys/dev/fb/s3_pci.c	Mon Apr 16 23:29:12 2012	(r234362)
@@ -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;
 	}
 


More information about the svn-src-head mailing list