From 3647a313de367e98840c4dfab491dfbeaf2cf9a4 Mon Sep 17 00:00:00 2001 From: Axel Haslam Date: Tue, 8 Dec 2015 18:26:31 +0100 Subject: [PATCH] greybus: loopback: remove mask attribute The mask attribute is not used on the driver anymore and can be removed. Signed-off-by: Axel Haslam Reviewed-by: Bryan O'Donoghue Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/loopback.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c index 626a841b1fe2..6a5eee35e9c0 100644 --- a/drivers/staging/greybus/loopback.c +++ b/drivers/staging/greybus/loopback.c @@ -82,7 +82,6 @@ struct gb_loopback { int type; int async; - u32 mask; u32 size; u32 iteration_max; u32 iteration_count; @@ -311,8 +310,6 @@ gb_dev_loopback_rw_attr(us_wait, d); gb_dev_loopback_rw_attr(iteration_max, u); /* The current index of the for (i = 0; i < iteration_max; i++) loop */ gb_dev_loopback_ro_attr(iteration_count, false); -/* A bit-mask of destination connections to include in the test run */ -gb_dev_loopback_rw_attr(mask, u); /* A flag to indicate synchronous or asynchronous operations */ gb_dev_loopback_rw_attr(async, u); /* Timeout of an individual asynchronous request */ @@ -339,7 +336,6 @@ static struct attribute *loopback_attrs[] = { &dev_attr_us_wait.attr, &dev_attr_iteration_count.attr, &dev_attr_iteration_max.attr, - &dev_attr_mask.attr, &dev_attr_async.attr, &dev_attr_error.attr, &dev_attr_requests_completed.attr, -- 2.20.1