diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-24 07:29:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-24 07:29:31 +0000 |
commit | 8c76bc6bc1a6181472b25e013261dcaaefcd5c91 (patch) | |
tree | 0360025f140eb833ffd278ada34dff9f8cfaaa3d /sys/kern/kern_tc.c | |
parent | cfd9986caff7ab79e1eacbfc034ab495f90ba3d0 (diff) |
useless store
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r-- | sys/kern/kern_tc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 57321e2e1d8..427cdb88b66 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $OpenBSD: kern_tc.c,v 1.15 2010/09/24 02:55:43 deraadt Exp $ + * $OpenBSD: kern_tc.c,v 1.16 2010/09/24 07:29:30 deraadt Exp $ * $FreeBSD: src/sys/kern/kern_tc.c,v 1.148 2003/03/18 08:45:23 phk Exp $ */ @@ -472,7 +472,6 @@ sysctl_tc_choice(void *oldp, size_t *oldlenp, void *newp, size_t newlen) int error, maxlen; spc = ""; - error = 0; maxlen = 0; for (tc = timecounters; tc != NULL; tc = tc->tc_next) maxlen += sizeof(buf); |