]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/cirrusfb.c
iwlwifi: unregister to upper stack before releasing resources
[linux-2.6-omap-h63xx.git] / drivers / video / cirrusfb.c
index f99cb77e7b42edc7804181aff250d1184c1c561b..f7e2d5add83172239d2a805c500d2e6fcb353ec0 100644 (file)
@@ -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;