OSDN Git Service

ice: Return configuration error without queue to disable
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Thu, 28 Feb 2019 23:25:49 +0000 (15:25 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 2 May 2019 08:01:40 +0000 (01:01 -0700)
commit85796d6e2fce748fbb59cf98c51b5f2e1bc409ca
tree17af13747a189ba0b38bafcbe35865c79e2386e1
parentbb87ee0efb7396d79ba5f37ff8e8721d01c87d4a
ice: Return configuration error without queue to disable

If there is no queue to disable, return appropriate configuration error
earlier without acquiring the lock.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c