]> Git Repo - linux.git/commit
proc: enclose desc variable of show_stat() in CONFIG_SPARSE_IRQ
authorKOSAKI Motohiro <[email protected]>
Tue, 16 Dec 2008 08:23:34 +0000 (00:23 -0800)
committerIngo Molnar <[email protected]>
Tue, 16 Dec 2008 10:24:14 +0000 (11:24 +0100)
commit13bd41bc227a48d6cf8992a3286bf6eba3c71a0c
treec817813280a7fec083edc0b74989f057f17c28be
parent30cb367ea2be76bf71dbd275f38d0fd3b6f4142b
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
fs/proc/stat.c
This page took 0.047611 seconds and 4 git commands to generate.