diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-11-28 10:56:17 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-11-28 10:56:17 -0500 |
commit | 70514d65f670ac2160af4c282ebad1e7eb852341 (patch) | |
tree | 5556c9be3b6729b72dd86af476aa328167db0f9a /runtime/staprun/staprun.c | |
parent | 84680f7eef6d7f0a30213ceb6cc254a230eb5eab (diff) | |
download | systemtap-steved-70514d65f670ac2160af4c282ebad1e7eb852341.tar.gz systemtap-steved-70514d65f670ac2160af4c282ebad1e7eb852341.tar.xz systemtap-steved-70514d65f670ac2160af4c282ebad1e7eb852341.zip |
PR4783: remove traces of stap{run,io} self-renicing
Diffstat (limited to 'runtime/staprun/staprun.c')
-rw-r--r-- | runtime/staprun/staprun.c | 5 |
1 files changed, 0 insertions, 5 deletions
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)); |