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

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
...@@ -2509,8 +2509,7 @@ static int cirrusfb_zorro_register(struct zorro_dev *z, ...@@ -2509,8 +2509,7 @@ static int cirrusfb_zorro_register(struct zorro_dev *z,
cinfo = info->par; cinfo = info->par;
cinfo->btype = btype; cinfo->btype = btype;
assert(z > 0); assert(z);
assert(z2 >= 0);
assert(btype != BT_NONE); assert(btype != BT_NONE);
cinfo->zdev = z; cinfo->zdev = z;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment