Fix style(9) bugs in the previous revision.

This commit is contained in:
Maxim Sobolev 2010-03-10 23:02:06 +00:00
parent 5d25cf29e2
commit 503969d196

View File

@ -152,12 +152,12 @@ detect_hs21(struct bce_softc *bce_sc)
char *sysenv;
if (bce_sc->bce_chipid != HS21_BCM_CHIPID)
return 0;
return (0);
sysenv = getenv("smbios.system.product");
if (sysenv == NULL)
return 0;
return (0);
if (strncmp(sysenv, HS21_PRODUCT_ID, strlen(HS21_PRODUCT_ID)) != 0)
return 0;
return (0);
return (1);
}