cirrusfb nonsense

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Al Viro 2007-10-27 19:46:58 +01:00 committed by Linus Torvalds
parent 0ada7a02ad
commit 36ea96a485

View file

@ -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;