]> err.no Git - systemd/commit
volume_id: clean up linux_raid code
authorKarel Zak <kzak@redhat.com>
Mon, 12 May 2008 22:55:53 +0000 (00:55 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 13 May 2008 09:29:17 +0000 (11:29 +0200)
commit661a0bea80d129d5df708e36dbaed745c9d8392e
treeb7d7b65137f4380a976488184352697c9c6122af
parent8325c84dba74ef8b9bd10d5dc5e4d0ec2574cf68
volume_id: clean up linux_raid code

extra global and/or non-static variables suck in shared libraries
use "else if" rather than many "return" calls

Signed-off-by: Karel Zak <kzak@redhat.com>
extras/volume_id/lib/linux_raid.c