From 36ea96a485ce09a88819896e48468d6469c292ab Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 27 Oct 2007 19:46:58 +0100 Subject: [PATCH] cirrusfb nonsense (pointer > 0) is deeply weird; (pointer >= 0) is even dumber... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- drivers/video/cirrusfb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index f99cb77..f7e2d5a 100644 --- a/drivers/video/cirrusfb.c +++ b/drivers/video/cirrusfb.c @@ -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; -- 2.7.4