be2net: change to call pmac_del only if necessary
authorAjit Khaparde <ajitk@serverengines.com>
Fri, 23 Jul 2010 01:49:04 +0000 (01:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2010 19:40:52 +0000 (12:40 -0700)
commit9cd9000bdee9131ffd2ce92ca6ef9c86467edd25
treec021e89e872654bc481e52fee9314d3f08b1e548
parent37773e8b2da813045d79b38e973cb07b5df788dd
be2net: change to call pmac_del only if necessary

If a mac address has not been configured for a VF,
there is no need to call be_cmd_pmac_del.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_main.c