net/qede: remove local bool type
authorDharmik Thakkar <dharmik.thakkar@arm.com>
Fri, 10 Jan 2020 20:51:52 +0000 (14:51 -0600)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:02 +0000 (19:46 +0100)
commitd0ef40a1b21790ff77970f389ef30f6f8674668a
tree0496f5601d5b5f93b08161f2ea1aa8fac37e6d0b
parent0f9e90b54fdad20e3ad04c537f1c25345e8c3d6c
net/qede: remove local bool type

Replace 'typedef int bool' with 'stdbool.h' to avoid possible
multiple definitions of 'bool'.

(Not sure if the previous code is checking for true/false condition.
Recommend careful review on this patch.)

Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/qede/base/bcm_osal.h
drivers/net/qede/base/ecore_vf.c
drivers/net/qede/qede_ethdev.c