diff options
author | Lukas Larsson <[email protected]> | 2019-08-09 14:25:22 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2019-08-09 14:29:45 +0200 |
commit | 7c9af844d83e300b9a1024dccfb1270b9a338f8f (patch) | |
tree | e755099f8500b8559906cb87419d39846dfbb3f8 /erts/emulator | |
parent | b71163642a7eae246432e1693255d5276039abf1 (diff) | |
download | otp-7c9af844d83e300b9a1024dccfb1270b9a338f8f.tar.gz otp-7c9af844d83e300b9a1024dccfb1270b9a338f8f.tar.bz2 otp-7c9af844d83e300b9a1024dccfb1270b9a338f8f.zip |
erts: Remove unused process_reg_size function
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/register.c | 12 | ||||
-rw-r--r-- | erts/emulator/beam/register.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/erts/emulator/beam/register.c b/erts/emulator/beam/register.c index c7e02c6d48..2b50f5a303 100644 --- a/erts/emulator/beam/register.c +++ b/erts/emulator/beam/register.c @@ -564,18 +564,6 @@ int erts_unregister_name(Process *c_p, return res; } -int process_reg_size(void) -{ - int size; - int lock = !ERTS_IS_CRASH_DUMPING; - if (lock) - reg_read_lock(); - size = process_reg.size; - if (lock) - reg_read_unlock(); - return size; -} - int process_reg_sz(void) { int sz; diff --git a/erts/emulator/beam/register.h b/erts/emulator/beam/register.h index 27a314ca78..c77bd03653 100644 --- a/erts/emulator/beam/register.h +++ b/erts/emulator/beam/register.h @@ -41,7 +41,6 @@ typedef struct reg_proc Eterm name; /* Atom name */ } RegProc; -int process_reg_size(void); int process_reg_sz(void); void init_register_table(void); void register_info(fmtfn_t, void *); |