summaryrefslogtreecommitdiff
path: root/net/tipc/net.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-10-19 23:39:21 +0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-12-27 20:33:44 +0400
commitd47ce2ece33eac5c2b12d52622d1b17fe6a34ce9 (patch)
tree8e6a11219c23d07e46ec03e42626aa72d8226584 /net/tipc/net.c
parent64b32f7e38627a325c825087318c09075a5edc42 (diff)
downloadlinux-d47ce2ece33eac5c2b12d52622d1b17fe6a34ce9.tar.xz
tipc: Eliminate useless memset operations in Ethernet media support
Gets rid of two pointless operations that zero out the array used to record information about TIPC's Ethernet bearers. There is no need to initialize the array on start up since it is a global variable that is already zero'd out, and there is no need to zero it out on exit because the array is never referenced again. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions