qlcnic: Initialize trans_work and idc_aen_work at VF probe.
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Thu, 23 May 2013 21:04:29 +0000 (21:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 May 2013 06:04:54 +0000 (23:04 -0700)
commit1267ff962fc04d33d30b52c5c09201df2b1c1d76
tree26d28152f3af0b75c8ef701108db48e4c5b66a0c
parent7e8fd003c96dda2920a4ba0c32d54780d15dfefc
qlcnic: Initialize trans_work and idc_aen_work at VF probe.

o work_struct should be initialized before cancel_delayed_work
  call to destroy it.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c