X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=snmp%2Flustre-snmp.c;h=047385273fae7999491745f44b3bb1baea2a9a4c;hp=93e08cad607761753adff4387e0ecf46d058701c;hb=20dfdeda5ea3f679b68c4a9fb6924c90a0a79cac;hpb=e3a7c58aebafce40323db54bf6056029e5af4a70 diff --git a/snmp/lustre-snmp.c b/snmp/lustre-snmp.c index 93e08ca..0473852 100644 --- a/snmp/lustre-snmp.c +++ b/snmp/lustre-snmp.c @@ -26,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/ @@ -571,7 +573,6 @@ write_sysStatus(int action, size_t name_len) { static long *long_ret; - int size; int new_value; @@ -597,7 +598,6 @@ write_sysStatus(int action, case RESERVE2: - size = var_val_len; long_ret = (long *) var_val;