From: Fabio Estevam Date: Wed, 21 Mar 2012 19:55:00 +0000 (-0700) Subject: drivers/thermal/thermal_sys.c: fix build warning X-Git-Tag: v3.4-rc1~18^2~3^9~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b11de07ce561574b6e03c8192b28bad540da8f79;p=pandora-kernel.git drivers/thermal/thermal_sys.c: fix build warning With CONFIG_NET=n: drivers/thermal/thermal_sys.c:63: warning: 'thermal_event_seqnum' defined but not used Move 'thermal_event_seqnum' definition inside the '#ifdef CONFIG_NET' [akpm@linux-foundation.org: make thermal_event_seqnum local to generate_netlink_event()] Signed-off-by: Fabio Estevam Acked-by: Guenter Roeck Acked-by: Durgadoss R Cc: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed