]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pnp/isapnp/core.c
Pull dock-bay into release branch
[linux-2.6-omap-h63xx.git] / drivers / pnp / isapnp / core.c
index a0b158704ca1f8f5eb5982f55477c96586d5692f..914d00c423ade6a353fd81d333c2eef7d89a6254 100644 (file)
@@ -370,8 +370,6 @@ static int __init isapnp_read_tag(unsigned char *type, unsigned short *size)
 #if 0
        printk(KERN_DEBUG "tag = 0x%x, type = 0x%x, size = %i\n", tag, *type, *size);
 #endif
-       if (type == 0)                          /* wrong type */
-               return -1;
        if (*type == 0xff && *size == 0xffff)   /* probably invalid data */
                return -1;
        return 0;