diff options
author | trasz <trasz@FreeBSD.org> | 2010-01-25 16:58:58 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-01-25 16:58:58 +0000 |
commit | f2a5da9c056665fa905aa30f97f6932e0538d355 (patch) | |
tree | e9083066cfeecc0fc50d2838f890107c50e3873b /sys/geom | |
parent | 0367f51ba3c4df6cb95d561bdabc70958efbb13d (diff) | |
download | FreeBSD-src-f2a5da9c056665fa905aa30f97f6932e0538d355.zip FreeBSD-src-f2a5da9c056665fa905aa30f97f6932e0538d355.tar.gz |
Remove pointless assignment.
Found with: clang
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/eli/g_eli_key.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/eli/g_eli_key.c b/sys/geom/eli/g_eli_key.c index 3f7be95..5b024d7 100644 --- a/sys/geom/eli/g_eli_key.c +++ b/sys/geom/eli/g_eli_key.c @@ -120,7 +120,6 @@ g_eli_mkey_decrypt(const struct g_eli_metadata *md, const unsigned char *key, g_eli_crypto_hmac(key, G_ELI_USERKEYLEN, "\x01", 1, enckey, 0); mmkey = md->md_mkeys; - nkey = 0; for (nkey = 0; nkey < G_ELI_MAXMKEYS; nkey++, mmkey += G_ELI_MKEYLEN) { bit = (1 << nkey); if (!(md->md_keys & bit)) |