team: for nomode use dummy struct team_mode
authorJiri Pirko <jpirko@redhat.com>
Tue, 19 Jun 2012 05:54:04 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 22:00:22 +0000 (15:00 -0700)
commitd299cd51166c156c77250f4cdd6363b74fd2f77e
treea4b94dd70e60b8496b45ff7401f17e516de8289c
parent0402788a6cda4e204a805e83eaaff64fef9e4418
team: for nomode use dummy struct team_mode

That leaves team->mode and all its values valid so no checks would be
needed (for example in team_mode_option_get()).

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c