From: Bryan O'Donoghue Date: Mon, 13 Jul 2015 19:20:47 +0000 (+0100) Subject: greybus: loopback: remove spurious pr_err in sysfs store X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74a240a029fd0fa692bd857f15ceb6eda4897c5d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: loopback: remove spurious pr_err in sysfs store Dangling debug code removed. Signed-off-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 9ede48058666..6cd4acf93bf6 100644 --- a/drivers/staging/greybus/loopback.c +++ b/drivers/staging/greybus/loopback.c @@ -107,7 +107,6 @@ static ssize_t field##_store(struct device *dev, \ struct gb_loopback *gb = \ (struct gb_loopback *)connection->private; \ ret = sscanf(buf, "%"#type, &gb->field); \ - pr_err("%s = %"#type"\n", #field, gb->field); \ if (ret != 1) \ return -EINVAL; \ gb_loopback_check_attr(gb); \