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)
commita31abe8daee5dd618aecb1484dbe9bf68c5c8a4a
tree1ebbadd93079b9caf5e7b9854e3cfe7554407d2e
parentc79be4549ae39edc026aa67eb64a25424542943f
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