summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2011-11-10 19:17:57 +0000
committerDavid S. Miller <davem@davemloft.net>2011-11-12 17:59:35 -0500
commit30128031d71741ef7d0e32c345e3bf02aa8a0704 (patch)
tree1ca0ba5c5c34c252c8bcfc8d53c82b19fa2e7d4c /include/linux
parentd826eb14ecef3574b6b3be55e5f4329f4a76fbf3 (diff)
be2net: init (vf)_if_handle/vf_pmac_id to handle failure scenarios
Initialize if_handle, vf_if_handle and vf_pmac_id with "-1" so that in failure cases when be_clear() is called, we can skip over if_destroy/pmac_del cmds if they have not been created. Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions