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://review.tizen.org/git/?a=commitdiff_plain;h=36ea96a485ce09a88819896e48468d6469c292ab;p=platform%2Fkernel%2Flinux-3.10.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 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;