couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [15/26] couch commit: updated refs/heads/windsor-merge to 14dc5e9
Date Tue, 26 Aug 2014 09:46:10 GMT
Remove old upgrade code.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/9009e5fc
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/9009e5fc
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/9009e5fc

Branch: refs/heads/windsor-merge
Commit: 9009e5fc879f77474fb48aaf07a20f02b19bf665
Parents: be3b2e9
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Aug 11 12:57:12 2014 -0500
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Aug 26 10:44:12 2014 +0100

----------------------------------------------------------------------
 src/couch_proc_manager.erl | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/9009e5fc/src/couch_proc_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_proc_manager.erl b/src/couch_proc_manager.erl
index 3f34a64..541686c 100644
--- a/src/couch_proc_manager.erl
+++ b/src/couch_proc_manager.erl
@@ -425,11 +425,6 @@ export_proc(#proc_int{} = ProcInt) ->
     [_ | Data] = lists:sublist(tuple_to_list(ProcInt), record_info(size, proc)),
     list_to_tuple([proc | Data]).
 
-import_proc(#proc{} = P) ->
-    lists:foldl(fun(Idx, ProcInt) ->
-        setelement(Idx, ProcInt, element(Idx, P))
-    end, #proc_int{}, lists:seq(2, tuple_size(P))).
-
 maybe_spawn_proc(State, Client) ->
     #state{proc_counts=Counts, waiting=Waiting} = State,
     #client{lang=Lang} = Client,


Mime
View raw message