md: Simplify sb_equal().
authorAndre Noll <maan@systemlinux.org>
Fri, 11 Jul 2008 12:02:20 +0000 (22:02 +1000)
committerNeil Brown <neilb@suse.de>
Fri, 11 Jul 2008 12:02:20 +0000 (22:02 +1000)
commitce0c8e05f8ef93d991d665aade8c4bf35806ea1a
treee3fb5bb279452161aca0351993f76b98ffbbb662
parent05710466c9ef2e3ee55166934c801a2393c32f80
md: Simplify sb_equal().

The only caller of sb_equal() tests the return value against
zero, so it's OK to return the negated return value of memcmp().

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
drivers/md/md.c