summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-03-29 18:25:12 -0700
committerDavid S. Miller <davem@davemloft.net>2015-03-31 14:09:49 -0400
commit4e833c596ef5f699479a8ba2d3294a004895f5f4 (patch)
tree50b994924e679521f6c8fbb2303762e6c68990bb /drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
parent8e1fa36b3f5347eabd02385883fb5757aed56687 (diff)
downloadlwn-4e833c596ef5f699479a8ba2d3294a004895f5f4.tar.gz
lwn-4e833c596ef5f699479a8ba2d3294a004895f5f4.zip
ethernet: Use bool function returns of true/false instead of 1/0
Use bool constants as the return values instead of 1 and 0. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
index 768dfb16bc80..f0466a028145 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
@@ -11610,7 +11610,7 @@ static bool bnx2x_get_dropless_info(struct bnx2x *bp)
u32 cfg;
if (IS_VF(bp))
- return 0;
+ return false;
if (IS_MF(bp) && !CHIP_IS_E1x(bp)) {
/* Take function: tmp = func */