提交 36ea96a4 编写于 作者: A Al Viro 提交者: Linus Torvalds

cirrusfb nonsense

(pointer > 0) is deeply weird; (pointer >= 0) is even dumber...
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 0ada7a02
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册