]> git.baikalelectronics.ru Git - kernel.git/commit
[BOND]: Fix warning in bond_sysfs.c
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2008 23:15:38 +0000 (16:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2008 23:15:38 +0000 (16:15 -0700)
commitc48c41c540c17a49afd14a5324c36c87a599024d
tree2d0b7987def9e9591596d054a28e07494338c45e
parentcf5140fab74b4011352aca34bee5a286a3515602
[BOND]: Fix warning in bond_sysfs.c

original_mtu is only used if we end up with a non-NULL
dev, and it is assigned in all such cases, but GCC can't
see that.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_sysfs.c