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:
parent
0ada7a02ad
commit
36ea96a485
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user