linux/drivers/net/ethernet/broadcom/bnx2x
Peter Senna Tschudin b85d717c1b net: bnx2x: Change variable type to bool
The variable rc is only assigned the values true and false.
The function bnx2x_prev_is_path_marked already returns bool.
Change rc type to bool.

The simplified semantic patch that find this problem is as
follows (http://coccinelle.lip6.fr/):

@exists@
type T;
identifier b;
@@
- T
+ bool
  b = ...;
  ... when any
  b = \(true\|false\)

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-03 15:40:33 -04:00
..
bnx2x_cmn.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-10-01 17:06:14 -04:00
bnx2x_cmn.h bnx2x: VF RSS support - VF side 2013-09-05 12:44:31 -04:00
bnx2x_dcb.c bnx2x: Consider DCBX remote error 2013-08-20 00:21:47 -07:00
bnx2x_dcb.h bnx2x: Change DCB context handling 2013-08-20 00:21:47 -07:00
bnx2x_dump.h bnx2x: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_ethtool.c bnx2x: Correct VF driver info 2013-09-28 15:23:59 -07:00
bnx2x_fw_defs.h bnx2x, bnx2fc: Use per port max exchange resources 2013-04-25 04:06:46 -04:00
bnx2x_fw_file_hdr.h
bnx2x_hsi.h bnx2x: Add support for EXTPHY2 LED mode 2013-09-28 15:24:03 -07:00
bnx2x_init_ops.h bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_init.h
bnx2x_link.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-10-01 17:06:14 -04:00
bnx2x_link.h bnx2x: Support reading I2C EEPROM SFF8472 2013-03-27 12:48:32 -04:00
bnx2x_main.c net: bnx2x: Change variable type to bool 2013-10-03 15:40:33 -04:00
bnx2x_mfw_req.h
bnx2x_reg.h bnx2x: VF RSS support - PF side 2013-09-05 12:44:31 -04:00
bnx2x_sp.c bnx2x: VF RSS support - PF side 2013-09-05 12:44:31 -04:00
bnx2x_sp.h bnx2x: VF RSS support - PF side 2013-09-05 12:44:31 -04:00
bnx2x_sriov.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-10-01 17:06:14 -04:00
bnx2x_sriov.h bnx2x: Don't disable/enable SR-IOV when loading 2013-09-28 15:24:01 -07:00
bnx2x_stats.c bnx2x: Fix VF stats sync 2013-08-27 22:03:04 -04:00
bnx2x_stats.h bnx2x: Fix VF stats sync 2013-08-27 22:03:04 -04:00
bnx2x_vfpf.c bnx2x: handle known but unsupported VF messages 2013-09-23 16:17:05 -04:00
bnx2x_vfpf.h bnx2x: VF RSS support - PF side 2013-09-05 12:44:31 -04:00
bnx2x.h bnx2x: use pcie_get_minimum_link() 2013-09-28 15:24:03 -07:00
Makefile