net/fm10k/base: clean up the logic
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 8 Mar 2017 06:18:53 +0000 (01:18 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:52 +0000 (15:52 +0200)
commit890fc30fbf23e8f01d8339bf30f4ff4a004aecfd
treeedf6b5d627b38b3deaff70f86bf7e3353ff9b81d
parent0de9c88abb25790b44ee4358815ddf104f9aff45
net/fm10k/base: clean up the logic

Clean up the logic in fm10k_tlv_attr_parse, we
should not reply on that FM10K_NOT_IMPLEMENTED is
greater than zero, as this can easily cause confusion.
The patch also correct a minor document error.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/fm10k/base/fm10k_tlv.c