From: Axel Haslam Date: Tue, 8 Dec 2015 17:26:31 +0000 (+0100) Subject: greybus: loopback: remove mask attribute X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~933 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=3647a313de367e98840c4dfab491dfbeaf2cf9a4;p=linux.git 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 --- 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,