be2net: fixup malloc/free of adapter->pmac_id
authorSathya Perla <sathya.perla@emulex.com>
Tue, 28 Aug 2012 20:37:43 +0000 (20:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2012 17:27:05 +0000 (13:27 -0400)
commitcc7d723adb7778e4eff8956f2d137c0729b9a81e
tree8fdf3d9f6726646970233a86c90797b4cd40fe5d
parent8a046d3bfd5126b724a5352a757310229d4d3ff3
be2net: fixup malloc/free of adapter->pmac_id

Free was missing and kcalloc() is better placed in be_ctrl_init()

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c