]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Eliminate duplication of media structures
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 7 Oct 2011 13:25:12 +0000 (09:25 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:13:06 +0000 (11:13 -0500)
commit5fcf622d9943c595fe5ce27b9fa1612506b727f5
tree1ebbadd93079b9caf5e7b9854e3cfe7554407d2e
parentc03be6e5a8458aaf282c5a9532bf08317aba82a8
tipc: Eliminate duplication of media structures

Changes TIPC's list of registered media types from an array of media
structures to an array of pointers to media structures. This eliminates
the need to copy of the contents of the structure passed in during media
registration.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bearer.c