]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wan/hostess_sv11.c
LIB82596: correct data types for hardware addresses
[linux-2.6-omap-h63xx.git] / drivers / net / wan / hostess_sv11.c
index 9ba3e4ee6ec70c46c537034ce4217191f4b6ffb6..83dbc924fcb577349018fdc8101d042c3e837c8e 100644 (file)
@@ -231,19 +231,16 @@ static struct sv11_device *sv11_init(int iobase, int irq)
                return NULL;
        }
        
-       sv = kmalloc(sizeof(struct sv11_device), GFP_KERNEL);
+       sv = kzalloc(sizeof(struct sv11_device), GFP_KERNEL);
        if(!sv)
                goto fail3;
                        
-       memset(sv, 0, sizeof(*sv));
        sv->if_ptr=&sv->netdev;
        
        sv->netdev.dev = alloc_netdev(0, "hdlc%d", sv11_setup);
        if(!sv->netdev.dev)
                goto fail2;
 
-       SET_MODULE_OWNER(sv->netdev.dev);
-
        dev=&sv->sync;
        
        /*