greybus: loopback: remove spurious pr_err in sysfs store
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Mon, 13 Jul 2015 19:20:47 +0000 (20:20 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 13 Jul 2015 22:42:01 +0000 (15:42 -0700)
Dangling debug code removed.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c

index 9ede48058666293b5659ec575c54cb4f0c12a0f1..6cd4acf93bf6fde533964521e843635827e70b89 100644 (file)
@@ -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);                                     \