diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-27 19:46:58 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-27 22:18:12 -0700 |
commit | 36ea96a485ce09a88819896e48468d6469c292ab (patch) | |
tree | 5b7eb690772dfc2a2f1815aecefd6df63fbdd93c /drivers/video | |
parent | 0ada7a02ad870f8586176ff5c4f0db2a40ba3fab (diff) | |
download | linux-3.10-36ea96a485ce09a88819896e48468d6469c292ab.tar.gz linux-3.10-36ea96a485ce09a88819896e48468d6469c292ab.tar.bz2 linux-3.10-36ea96a485ce09a88819896e48468d6469c292ab.zip |
cirrusfb nonsense
(pointer > 0) is deeply weird; (pointer >= 0) is even dumber...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/cirrusfb.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |