forked from Minki/linux
b85d717c1b
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> |
||
---|---|---|
.. | ||
bnx2x_cmn.c | ||
bnx2x_cmn.h | ||
bnx2x_dcb.c | ||
bnx2x_dcb.h | ||
bnx2x_dump.h | ||
bnx2x_ethtool.c | ||
bnx2x_fw_defs.h | ||
bnx2x_fw_file_hdr.h | ||
bnx2x_hsi.h | ||
bnx2x_init_ops.h | ||
bnx2x_init.h | ||
bnx2x_link.c | ||
bnx2x_link.h | ||
bnx2x_main.c | ||
bnx2x_mfw_req.h | ||
bnx2x_reg.h | ||
bnx2x_sp.c | ||
bnx2x_sp.h | ||
bnx2x_sriov.c | ||
bnx2x_sriov.h | ||
bnx2x_stats.c | ||
bnx2x_stats.h | ||
bnx2x_vfpf.c | ||
bnx2x_vfpf.h | ||
bnx2x.h | ||
Makefile |