Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36ea96a4 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

cirrusfb nonsense



(pointer > 0) is deeply weird; (pointer >= 0) is even dumber...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0ada7a02
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2509,8 +2509,7 @@ static int cirrusfb_zorro_register(struct zorro_dev *z,
	cinfo = info->par;
	cinfo->btype = btype;

	assert(z > 0);
	assert(z2 >= 0);
	assert(z);
	assert(btype != BT_NONE);

	cinfo->zdev = z;