]> 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)
commit12de1eeedbc4b66eda6f3698635de7922fdd85e3
tree1ebbadd93079b9caf5e7b9854e3cfe7554407d2e
parentf90e205a787f36a561a7592799fe9f5cea54626a
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