i40evf: Use an iterator of the same type as the list
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Mon, 22 Jan 2018 17:00:34 +0000 (12:00 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Feb 2018 19:40:10 +0000 (11:40 -0800)
commitfbd5eb54c28ce314e0cca1505d2261a8a84ebc44
treecbd3fc776a695738b9f52dad47b4e2f1d916604a
parenta48350c29be1bde064d1135e05c64c84098a030d
i40evf: Use an iterator of the same type as the list

When iterating through the linked list of VLAN filters, make the
iterator the same type as that of the linked list.

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/i40evf/i40evf_main.c