Fix a Clang warning.

Submitted by:	arundel
This commit is contained in:
Jung-uk Kim 2012-04-16 23:29:12 +00:00
parent 17b27db088
commit 5cf2cbca3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234362

View file

@ -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;
}