From 803157a68398cb56325b4c77ae588a17c8d268d2 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 6 Feb 2006 21:05:43 +0000 Subject: [PATCH] Branch b_release_1_4_6 Remove unused "rc" variable. --- lustre/obdclass/lustre_peer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lustre/obdclass/lustre_peer.c b/lustre/obdclass/lustre_peer.c index 499e313..d3b8a2f 100644 --- a/lustre/obdclass/lustre_peer.c +++ b/lustre/obdclass/lustre_peer.c @@ -88,7 +88,6 @@ int lustre_uuid_to_peer(char *uuid, lnet_nid_t *peer_nid, int index) int class_add_uuid(char *uuid, __u64 nid) { struct uuid_nid_data *data; - int rc; int nob = strnlen (uuid, PAGE_SIZE) + 1; LASSERT(nid != 0); /* valid newconfig NID is never zero */ @@ -96,7 +95,6 @@ int class_add_uuid(char *uuid, __u64 nid) if (nob > PAGE_SIZE) return -EINVAL; - rc = -ENOMEM; OBD_ALLOC(data, sizeof(*data)); if (data == NULL) return -ENOMEM; -- 1.8.3.1