x86_64: Prevent doing anything from cache_remove_dev() when info setup failed.
commit2966c6a03efd90197582eae8590d82c789475680
authorAndi Kleen <ak@suse.de>
Tue, 11 Sep 2007 12:02:11 +0000 (11 14:02 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 12 Sep 2007 16:28:06 +0000 (12 09:28 -0700)
tree714ed95bbf4c60f682a2693a5eb3a9a24bcd029a
parent95b08679963c78ce0d675224a6efdb5169f2bf75
x86_64: Prevent doing anything from cache_remove_dev() when info setup failed.

AK: Removed the unlikelies because gcc heuristics default to unlikely
AK: for test == NULL and for negative returns.

Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/cpu/intel_cacheinfo.c