]> err.no Git - linux-2.6/commit
hugetlb: remove unused variable warning
authorAndrea Righi <righi.andrea@gmail.com>
Sat, 26 Jul 2008 22:22:27 +0000 (15:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 27 Jul 2008 03:16:47 +0000 (20:16 -0700)
commit510a35d4a47802f4a0028aa6bd2ca2170da5e32f
tree8eb0d6091fe89f013436c5080dc4cbaf825172cf
parentb2d002dba5a8a4c0c3ec96fd1ff3c9def6bd71a1
hugetlb: remove unused variable warning

Remove the following warning when CONFIG_HUGETLB_PAGE is not set:

ipc/shm.c: In function `shm_get_stat':
ipc/shm.c:565: warning: unused variable `h'

[akpm@linux-foundation.org: use tabs, not spaces]
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/hugetlb.h