x86: don't compare pointers to 0
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 20 Nov 2017 18:45:56 +0000 (19:45 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Nov 2017 05:50:17 +0000 (13:50 +0800)
commit39670c341f0598dd00e5124deb5b479bf674b949
tree3bfb7a4df0858128984b4a1feaaef2479c0f9b8b
parenta2c0eed4e0f31dd822379d98fb25c0d24123d92f
x86: don't compare pointers to 0

x86_vendor_name is defined as

static const char *const x86_vendor_name[]

So its elements should not be compared to 0.

Remove superfluous paranthesis.

Problem identified with Coccinelle.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c