Commit 3647a313 authored by Axel Haslam's avatar Axel Haslam Committed by Greg Kroah-Hartman

greybus: loopback: remove mask attribute

The mask attribute is not used on the driver anymore and can be
removed.
Signed-off-by: default avatarAxel Haslam <ahaslam@baylibre.com>
Reviewed-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 50014e07
...@@ -82,7 +82,6 @@ struct gb_loopback { ...@@ -82,7 +82,6 @@ struct gb_loopback {
int type; int type;
int async; int async;
u32 mask;
u32 size; u32 size;
u32 iteration_max; u32 iteration_max;
u32 iteration_count; u32 iteration_count;
...@@ -311,8 +310,6 @@ gb_dev_loopback_rw_attr(us_wait, d); ...@@ -311,8 +310,6 @@ gb_dev_loopback_rw_attr(us_wait, d);
gb_dev_loopback_rw_attr(iteration_max, u); gb_dev_loopback_rw_attr(iteration_max, u);
/* The current index of the for (i = 0; i < iteration_max; i++) loop */ /* The current index of the for (i = 0; i < iteration_max; i++) loop */
gb_dev_loopback_ro_attr(iteration_count, false); 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 */ /* A flag to indicate synchronous or asynchronous operations */
gb_dev_loopback_rw_attr(async, u); gb_dev_loopback_rw_attr(async, u);
/* Timeout of an individual asynchronous request */ /* Timeout of an individual asynchronous request */
...@@ -339,7 +336,6 @@ static struct attribute *loopback_attrs[] = { ...@@ -339,7 +336,6 @@ static struct attribute *loopback_attrs[] = {
&dev_attr_us_wait.attr, &dev_attr_us_wait.attr,
&dev_attr_iteration_count.attr, &dev_attr_iteration_count.attr,
&dev_attr_iteration_max.attr, &dev_attr_iteration_max.attr,
&dev_attr_mask.attr,
&dev_attr_async.attr, &dev_attr_async.attr,
&dev_attr_error.attr, &dev_attr_error.attr,
&dev_attr_requests_completed.attr, &dev_attr_requests_completed.attr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment