X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=snmp%2Flustre-snmp.c;h=047385273fae7999491745f44b3bb1baea2a9a4c;hp=5dc19b4bd3d153b330b882e3305fb5084aa94b11;hb=20dfdeda5ea3f679b68c4a9fb6924c90a0a79cac;hpb=ca49a1ccb5428d9689f9904ea3d19b85ddac3b64 diff --git a/snmp/lustre-snmp.c b/snmp/lustre-snmp.c index 5dc19b4..0473852 100644 --- a/snmp/lustre-snmp.c +++ b/snmp/lustre-snmp.c @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -26,8 +24,10 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved + * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2012, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -573,7 +573,6 @@ write_sysStatus(int action, size_t name_len) { static long *long_ret; - int size; int new_value; @@ -599,7 +598,6 @@ write_sysStatus(int action, case RESERVE2: - size = var_val_len; long_ret = (long *) var_val;