1
0
Fork 0

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>
hifive-unleashed-5.1
Al Viro 2007-10-27 19:46:58 +01:00 committed by Linus Torvalds
parent 0ada7a02ad
commit 36ea96a485
1 changed files with 1 additions and 2 deletions

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;