hwmon: (via-cputemp) Remove pointless CPU check on each CPU
authorThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2016 18:35:26 +0000 (19:35 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 2 Dec 2016 21:28:13 +0000 (13:28 -0800)
commit3d7e0a24947c076a6cf6080c5f076c60ae8d9543
treea30450f607f34f29e220e9f2d1c4d347ed166bc6
parentf4dc811c16b91ed0a8c9dd5a863409279d14a581
hwmon: (via-cputemp) Remove pointless CPU check on each CPU

The check loop for the cpu type is pointless as we already have a cpu model
match before that. The only thing which is not covered by that check would
be a smp system with two different cores. Not likely to happen.

Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/via-cputemp.c