Remove superfluous argument

polishes 06cf60a0

I should have taken more time for that merge.
parent ce3dbbed
......@@ -116,7 +116,7 @@ vrt_priv_dyncmp(const struct vrt_priv *vp1, const struct vrt_priv *vp2)
VRBT_GENERATE_STATIC(vrt_privs, vrt_priv, entry, vrt_priv_dyncmp)
static struct vmod_priv *
vrt_priv_dynamic_get(struct ws *ws, struct vrt_privs *privs, uintptr_t vmod_id)
vrt_priv_dynamic_get(struct vrt_privs *privs, uintptr_t vmod_id)
{
struct vrt_priv *vp;
......@@ -143,7 +143,7 @@ vrt_priv_dynamic(struct ws *ws, struct vrt_privs *privs, uintptr_t vmod_id)
* TODO: for insert == 1, we can avoid the VRBT_FIND:
* call only VRT_INSERT and reset the ws if the element existed
*/
r = vrt_priv_dynamic_get(ws, privs, vmod_id);
r = vrt_priv_dynamic_get(privs, vmod_id);
if (r)
return (r);
......@@ -185,7 +185,6 @@ VRT_priv_task_get(VRT_CTX, const void *vmod_id)
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
return (vrt_priv_dynamic_get(
ctx->ws,
vrt_priv_task_context(ctx),
(uintptr_t)vmod_id));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment