]> err.no Git - linux-2.6/commit
[PATCH] ppc64: simplify nvram partition scanning code
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Jun 2005 10:33:49 +0000 (20:33 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 28 Jun 2005 10:33:49 +0000 (20:33 +1000)
commita341ad97245d01c923995cfe7deacd0c8aee6e16
tree5685b51e3feafaf2a72f621a9c00c881199e6b3d
parent99f95e5286df2f69edab8a04c7080d986ee4233b
[PATCH] ppc64: simplify nvram partition scanning code

Convert nvram_create_os_partition to use list_for_each_entry
instead of list_for_each, as this reduces the code size by
two lines.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/nvram.c