aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bif_load.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-11-10 06:19:56 +0100
committerBjörn Gustavsson <[email protected]>2011-11-14 14:04:23 +0100
commit757a4720645366af1aace7469a6f5e7b9be7ab45 (patch)
tree697ce320b14ad07023705498f5882a65ccc679e7 /erts/emulator/beam/beam_bif_load.c
parentdb8f3882288990dfc007765decad01233c455cbd (diff)
downloadotp-757a4720645366af1aace7469a6f5e7b9be7ab45.tar.gz
otp-757a4720645366af1aace7469a6f5e7b9be7ab45.tar.bz2
otp-757a4720645366af1aace7469a6f5e7b9be7ab45.zip
Remove the useless -l option
The -l option used to print information about modules being loaded, but now it prints very little information.
Diffstat (limited to 'erts/emulator/beam/beam_bif_load.c')
-rw-r--r--erts/emulator/beam/beam_bif_load.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/erts/emulator/beam/beam_bif_load.c b/erts/emulator/beam/beam_bif_load.c
index 294b1578be..9ee4bb6878 100644
--- a/erts/emulator/beam/beam_bif_load.c
+++ b/erts/emulator/beam/beam_bif_load.c
@@ -654,9 +654,6 @@ purge_module(int module)
* Any code to purge?
*/
if (modp->old_code == 0) {
- if (display_loads) {
- erts_printf("No code to purge for %T\n", make_atom(module));
- }
return -1;
}
@@ -785,9 +782,6 @@ beam_make_current_old(Process *c_p, ErtsProcLocks c_p_locks, Eterm module)
if (modp->code != NULL && modp->old_code != NULL) {
return -3;
} else if (modp->old_code == NULL) { /* Make the current version old. */
- if (display_loads) {
- erts_printf("saving old code\n");
- }
delete_code(c_p, c_p_locks, modp);
delete_export_references(module);
}