net/ice/base: check RSS flow profile list
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:18:21 +0000 (23:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commit171a4ae26d14ae308729cf0c5beda396ea46b3af
treed3af2f4c9d3b06cbf1de8351e5ea72cea0be7c68
parent16c14a0cd678deb2ff384a6bda688fb0cf937e05
net/ice/base: check RSS flow profile list

Minor change to check if there are any RSS flow profiles to remove.
This will avoid flow profile lock acquisition and release
if the list is empty.

Signed-off-by: Vignesh Sridhar <vignesh.sridhar@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_flow.c