diff options
author | Anders Svensson <anders@erlang.org> | 2017-04-22 00:29:08 +0200 |
---|---|---|
committer | Anders Svensson <anders@erlang.org> | 2017-06-12 16:13:52 +0200 |
commit | c83d5ac4d4df41924b52cb577c255cd0c23f36ed (patch) | |
tree | b780305b2cfc4826a62b580d23b58db8b076f42d /lib/diameter/include | |
parent | d6b15a127ec9263bd9ec8571ec577f4e7e304182 (diff) | |
download | otp-c83d5ac4d4df41924b52cb577c255cd0c23f36ed.tar.gz otp-c83d5ac4d4df41924b52cb577c255cd0c23f36ed.tar.bz2 otp-c83d5ac4d4df41924b52cb577c255cd0c23f36ed.zip |
Remove upgrade-related code
This and subsequent commits are destined for OTP 20.0.
Diffstat (limited to 'lib/diameter/include')
-rw-r--r-- | lib/diameter/include/diameter_gen.hrl | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/diameter/include/diameter_gen.hrl b/lib/diameter/include/diameter_gen.hrl index 4624d42c6f..fadc6f2b60 100644 --- a/lib/diameter/include/diameter_gen.hrl +++ b/lib/diameter/include/diameter_gen.hrl @@ -58,14 +58,7 @@ putr(K,V) -> put({?TAG, K}, V). getr(K) -> - case get({?TAG, K}) of - undefined -> - V = erase({?MODULE, K}), %% written in old code - V == undefined orelse putr(K,V), - V; - V -> - V - end. + get({?TAG, K}). eraser(K) -> erase({?TAG, K}). |