net/ice/base: return config error without queue to disable
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 25 Mar 2019 05:44:42 +0000 (13:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 16:25:31 +0000 (17:25 +0100)
commitfcbf52eaaf2fae93bff26d1d48967b31c6fdfc81
tree369ec6866a4578348b56345f9f72e6540f0ed582
parentf0c38010536931377da5f9e99ecbc916e2cc78a0
net/ice/base: return config 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: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Qiming Yang <qiming.yang@intel.com>
Reviewed-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ice/base/ice_common.c