You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/26 11:46:10 UTC

[15/26] couch commit: updated refs/heads/windsor-merge to 14dc5e9

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 <pa...@gmail.com>
Authored: Mon Aug 11 12:57:12 2014 -0500
Committer: Robert Newson <rn...@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,