summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2017-01-17 13:22:22 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2017-01-16 22:09:52 -0800
commit54df3e5cb316dc40094213d5cc79b3f63cd410d5 (patch)
treee1d9385ca99f7462c2036ca19557093af56abc9e /arch
parent4b6d05be4499f141ca7770262a9f30da8d365798 (diff)
net: bcm4358: fix not to check same value in macro
When BCMBUSTYPE is not defined, then BUSTYPE(bustype) is just bustype. So comparing bustype and BUSTYPE(bustype) is not necessary. This patch removes following build warning with gcc 6. drivers/net/wireless/bcmdhd4358/siutils.c: In function 'si_doattach': drivers/net/wireless/bcmdhd4358/siutils.c:512:14: warning: self-comparison always evaluates to false [-Wtautological-compare] if (bustype != BUSTYPE(bustype)) { ^~ Change-Id: I1cac3dd31bcb86983469830013a1093ed9ceaa89 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions