From 70514d65f670ac2160af4c282ebad1e7eb852341 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 28 Nov 2008 10:56:17 -0500 Subject: PR4783: remove traces of stap{run,io} self-renicing --- runtime/staprun/staprun.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'runtime/staprun/staprun.c') diff --git a/runtime/staprun/staprun.c b/runtime/staprun/staprun.c index d23945e6..b6d77979 100644 --- a/runtime/staprun/staprun.c +++ b/runtime/staprun/staprun.c @@ -187,11 +187,6 @@ static int remove_module(const char *name, int verb) close_ctl_channel(); dbug(2, "removing module %s\n", name); - - /* Don't remove module when priority is elevated. */ - if (setpriority(PRIO_PROCESS, 0, 0) < 0) - _perr("setpriority"); - ret = delete_module (name, 0); if (ret != 0) { err("Error removing module '%s': %s.\n", name, strerror(errno)); -- cgit