X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=snmp%2Flustre-snmp.c;h=047385273fae7999491745f44b3bb1baea2a9a4c;hp=ce838a0ef877f88c56b6ac6a6dddac5478a928e9;hb=20dfdeda5ea3f679b68c4a9fb6924c90a0a79cac;hpb=0f8dca08a4f68cba82c2c822998ecc309d3b7aaf;ds=sidebyside diff --git a/snmp/lustre-snmp.c b/snmp/lustre-snmp.c index ce838a0..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. @@ -28,6 +26,8 @@ /* * 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;