]> git.baikalelectronics.ru Git - kernel.git/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)
commite0823b9ad9a79e2c28c21660671be00111ae81eb
tree5685b51e3feafaf2a72f621a9c00c881199e6b3d
parentd49a6a669d754ea8fe0a746e9acbb73c8a2861b7
[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