]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/block/paride/bpck6.c
remove mentionings of devfs in documentation
[linux-2.6-omap-h63xx.git] / drivers / block / paride / bpck6.c
index 08d858ad64db9533a134996a8fa0c4002f7bdcac..41a237c5957db19226bb35b31ec896ad9f8d0724 100644 (file)
@@ -224,10 +224,9 @@ static void bpck6_log_adapter( PIA *pi, char * scratch, int verbose )
 
 static int bpck6_init_proto(PIA *pi)
 {
-       Interface *p = kmalloc(sizeof(Interface), GFP_KERNEL);
+       Interface *p = kzalloc(sizeof(Interface), GFP_KERNEL);
 
        if (p) {
-               memset(p, 0, sizeof(Interface));
                pi->private = (unsigned long)p;
                return 0;
        }