i40e: Initialize pointer in client_release function
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Mon, 15 Aug 2016 21:17:19 +0000 (14:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 20 Aug 2016 04:38:00 +0000 (21:38 -0700)
commit682d11d7001e61710b282df51a51250a57514772
treea82b907f1ea14c9b53137971e6e05fdeef4ebe23
parent91cdca4faa3e4085b37cc084b15955bb20ca2e31
i40e: Initialize pointer in client_release function

The function i40e_client_release has a print statement that uses an
adapter pointer which is not initialized if a previous if statement
is not true. Hence, intialize it in the right place.

Change-ID: I1afdaa2c46771ac42be56edcc41bb56b455b06c8
Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_client.c