projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ada7a0
)
cirrusfb nonsense
author
Al Viro
<viro@ftp.linux.org.uk>
Sat, 27 Oct 2007 18:46:58 +0000
(19:46 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 28 Oct 2007 05:18:12 +0000
(22:18 -0700)
(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>
drivers/video/cirrusfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/cirrusfb.c
b/drivers/video/cirrusfb.c
index f99cb77e7b42edc7804181aff250d1184c1c561b..f7e2d5add83172239d2a805c500d2e6fcb353ec0 100644
(file)
--- 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;