From: KOSAKI Motohiro Date: Tue, 16 Dec 2008 08:23:34 +0000 (-0800) Subject: proc: enclose desc variable of show_stat() in CONFIG_SPARSE_IRQ X-Git-Tag: v2.6.29-rc1~538^2~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13bd41bc227a48d6cf8992a3286bf6eba3c71a0c;p=pandora-kernel.git proc: enclose desc variable of show_stat() in CONFIG_SPARSE_IRQ Impact: restructure code to fix compiler warning commit 240d367b4e6c6e3c5075e034db14dba60a6f5fa7 moved desc usage point into #ifdef CONFIG_SPARSE_IRQ. Eliminate the desc variable, otherwise following warning happens: fs/proc/stat.c: In function 'show_stat': fs/proc/stat.c:31: warning: unused variable 'desc' [ akpm: cleaned up the patch to remove #ifdef ] Signed-off-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed