aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-01-13 12:39:40 +0000
committerIngo Molnar <[email protected]>2016-01-14 08:46:00 +0000
commit7030a7e9321166eef44c811fe4af4d460360d424 (patch)
tree3a8a74d673062205cd7dc396fc9d7f173aed6bc7 /net/unix/garbage.c
parentx86/vdso/pvclock: Protect STABLE check with the seqcount (diff)
downloadkernel-7030a7e9321166eef44c811fe4af4d460360d424.tar.gz
kernel-7030a7e9321166eef44c811fe4af4d460360d424.zip
x86/cpu/amd: Remove an unneeded condition in srat_detect_node()
Originally we calculated ht_nodeid as "ht_nodeid = apicid - boot_cpu_id;" so presumably it could be negative. But after commit: 01aaea1afbcd ('x86: introduce initial apicid') we use c->initial_apicid which is an unsigned short and thus always >= 0. It causes a static checker warning to test for impossible conditions so let's remove it. Signed-off-by: Dan Carpenter <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Aravind Gopalakrishnan <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Hector Marco-Gisbert <[email protected]> Cc: Huang Rui <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Yinghai Lu <[email protected]> Link: http://lkml.kernel.org/r/20160113123940.GE19993@mwanda Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions