diff options
author | pjd <pjd@FreeBSD.org> | 2006-01-31 15:55:52 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-01-31 15:55:52 +0000 |
commit | 2c22d1672b4293e32a395838f8f21cbd73119799 (patch) | |
tree | bced3a542a64dca015c2cdd6cf049c9d53b26178 /sbin/geom/class/eli/geom_eli.c | |
parent | 6736c7fe9444b62aa3eede3ed0a26377a6921e3d (diff) | |
download | FreeBSD-src-2c22d1672b4293e32a395838f8f21cbd73119799.zip FreeBSD-src-2c22d1672b4293e32a395838f8f21cbd73119799.tar.gz |
Remove unused argument.
MFC after: 3 days
Diffstat (limited to 'sbin/geom/class/eli/geom_eli.c')
-rw-r--r-- | sbin/geom/class/eli/geom_eli.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/geom/class/eli/geom_eli.c b/sbin/geom/class/eli/geom_eli.c index 0f07619..f7cf2b8 100644 --- a/sbin/geom/class/eli/geom_eli.c +++ b/sbin/geom/class/eli/geom_eli.c @@ -634,8 +634,7 @@ eli_attach(struct gctl_req *req) } static void -eli_setkey_attached(struct gctl_req *req, const char *prov, - struct g_eli_metadata *md) +eli_setkey_attached(struct gctl_req *req, struct g_eli_metadata *md) { unsigned char key[G_ELI_USERKEYLEN]; intmax_t val; @@ -767,7 +766,7 @@ eli_setkey(struct gctl_req *req) return; if (eli_is_attached(prov)) - eli_setkey_attached(req, prov, &md); + eli_setkey_attached(req, &md); else eli_setkey_detached(req, prov, &md); } |