Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/coda remove unused code from macro
details: https://anonhg.NetBSD.org/src/rev/c2a6ad8c478a
branches: trunk
changeset: 790564:c2a6ad8c478a
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 17 20:56:02 2013 +0000
description:
remove unused code from macro
diffstat:
sys/coda/coda_venus.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r b5a149f06fc2 -r c2a6ad8c478a sys/coda/coda_venus.c
--- a/sys/coda/coda_venus.c Thu Oct 17 20:55:30 2013 +0000
+++ b/sys/coda/coda_venus.c Thu Oct 17 20:56:02 2013 +0000
@@ -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 @@
#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 @@
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); \
Home |
Main Index |
Thread Index |
Old Index