couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [3/3] couch commit: updated refs/heads/windsor-merge to 42c89cd
Date Mon, 11 Aug 2014 17:58:31 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/42c89cd4
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/42c89cd4
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/42c89cd4

Branch: refs/heads/windsor-merge
Commit: 42c89cd403875cc4116c39724dd39722e4c3b5aa
Parents: 9e16627
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Aug 11 12:57:12 2014 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Mon Aug 11 12:57:12 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/42c89cd4/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