bonding: fix compile error if debug enabled
authorHolger Eitzenberger <holger@eitzenberger.org>
Wed, 10 Dec 2008 07:08:55 +0000 (23:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2008 07:08:55 +0000 (23:08 -0800)
commitef65583d01f4060c758dba72f08edc09d8faa719
tree61fbc6ea1a6b4383eeb92e175e4402b50d30f0a8
parent77afc92b7915b6bb21584474a429a04603ac8963
bonding: fix compile error if debug enabled

This is what I get if debug is enabled:

drivers/net/bonding/bond_ipv6.c: In function 'bond_na_send':
drivers/net/bonding/bond_ipv6.c:75: error: 'slave' undeclared (first use in this function)
drivers/net/bonding/bond_ipv6.c:75: error: (Each undeclared identifier is reported only once
drivers/net/bonding/bond_ipv6.c:75: error: for each function it appears in.)

This patch fixes that.

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_ipv6.c