linux_dsm_epyc7002/drivers/net/ethernet/neterion/vxge
Nathan Chancellor b1e51eabf9 net: neterion: vxge: Remove unnecessary parentheses
Clang warns when multiple pairs of parentheses are used for a single
conditional statement.

drivers/net/ethernet/neterion/vxge/vxge-traffic.c:2265:31: warning:
equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((hldev->config.intr_mode ==
VXGE_HW_INTR_MODE_MSIX_ONE_SHOT))
             ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/vxge/vxge-traffic.c:2265:31: note: remove
extraneous parentheses around the comparison to silence this warning
        if ((hldev->config.intr_mode ==
VXGE_HW_INTR_MODE_MSIX_ONE_SHOT))
            ~                        ^                                 ~
drivers/net/ethernet/neterion/vxge/vxge-traffic.c:2265:31: note: use '='
to turn this equality comparison into an assignment
        if ((hldev->config.intr_mode ==
VXGE_HW_INTR_MODE_MSIX_ONE_SHOT))
                                     ^~
                                     =
1 warning generated.

Link: https://github.com/ClangBuiltLinux/linux/issues/124
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-21 19:00:09 -07:00
..
Makefile
vxge-config.c net: neterion: vxge: Use linux/io-64-nonatomic-lo-hi.h 2018-09-18 20:06:23 -07:00
vxge-config.h net: neterion: vxge: Use linux/io-64-nonatomic-lo-hi.h 2018-09-18 20:06:23 -07:00
vxge-ethtool.c net: vxge: fix spelling mistake in macro VXGE_HW_ERR_PRIVILAGED_OPEARATION 2018-05-23 14:50:02 -04:00
vxge-ethtool.h
vxge-main.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
vxge-main.h net: vxge: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
vxge-reg.h
vxge-traffic.c net: neterion: vxge: Remove unnecessary parentheses 2018-09-21 19:00:09 -07:00
vxge-traffic.h
vxge-version.h