Module Name: src Committed By: christos Date: Thu Oct 17 20:56:02 UTC 2013
Modified Files: src/sys/coda: coda_venus.c Log Message: remove unused code from macro To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/coda/coda_venus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/coda/coda_venus.c diff -u src/sys/coda/coda_venus.c:1.29 src/sys/coda/coda_venus.c:1.30 --- src/sys/coda/coda_venus.c:1.29 Wed Apr 25 23:04:54 2012 +++ src/sys/coda/coda_venus.c Thu Oct 17 16:56:02 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: coda_venus.c,v 1.29 2012/04/26 03:04:54 christos Exp $ */ +/* $NetBSD: coda_venus.c,v 1.30 2013/10/17 20:56:02 christos Exp $ */ /* * @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: coda_venus.c,v 1.29 2012/04/26 03:04:54 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: coda_venus.c,v 1.30 2013/10/17 20:56:02 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -79,7 +79,6 @@ __KERNEL_RCSID(0, "$NetBSD: coda_venus.c #define DECL_NO_OUT(name) \ struct name ## _in *inp; \ - struct coda_out_hdr *outp; \ int name ## _size = sizeof (struct name ## _in); \ int Isize = sizeof (struct name ## _in); \ int Osize = sizeof (struct coda_out_hdr); \ @@ -101,7 +100,6 @@ __KERNEL_RCSID(0, "$NetBSD: coda_venus.c if (Osize > name ## _size) \ name ## _size = Osize; \ CODA_ALLOC(inp, struct name ## _in *, name ## _size);\ - outp = (struct coda_out_hdr *) inp #define STRCPY(struc, name, len) \ memcpy((char *)inp + (int)inp->struc, name, len); \