staging: lustre: remove unused variable
The "->lr_lvb_data" struct member is never used. Delete it. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b3367164f4
commit
a4be078d78
@ -872,8 +872,6 @@ struct ldlm_resource {
|
||||
*/
|
||||
struct mutex lr_lvb_mutex;
|
||||
int lr_lvb_len;
|
||||
/** protected by lr_lock */
|
||||
void *lr_lvb_data;
|
||||
|
||||
/** When the resource was considered as contended. */
|
||||
unsigned long lr_contention_time;
|
||||
|
@ -1154,8 +1154,6 @@ ldlm_resource_get(struct ldlm_namespace *ns, struct ldlm_resource *parent,
|
||||
CERROR("%s: lvbo_init failed for resource %#llx:%#llx: rc = %d\n",
|
||||
ns->ns_obd->obd_name, name->name[0],
|
||||
name->name[1], rc);
|
||||
kfree(res->lr_lvb_data);
|
||||
res->lr_lvb_data = NULL;
|
||||
res->lr_lvb_len = rc;
|
||||
mutex_unlock(&res->lr_lvb_mutex);
|
||||
ldlm_resource_putref(res);
|
||||
|
Loading…
Reference in New Issue
Block a user