From: Al Viro Date: Sat, 27 Oct 2007 18:46:58 +0000 (+0100) Subject: cirrusfb nonsense X-Git-Tag: v2.6.24-rc2~122 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=36ea96a485ce09a88819896e48468d6469c292ab;p=linux-2.6-omap-h63xx.git cirrusfb nonsense (pointer > 0) is deeply weird; (pointer >= 0) is even dumber... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index f99cb77e7b4..f7e2d5add83 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;