diff options
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)); |