summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2019-05-21 08:56:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-21 10:30:22 +0200
commite033958e74d7a86e373ba6e7a4a83b53a2693889 (patch)
treeca1e754787c5974b7325feba3114f54fd482e35f
parentcd88d2b11dc34b794e65d7aec64bd35086749945 (diff)
staging: kpc2000: removed two kpc_uio_class device attributes.
The show functions of two attributes output nothing and they are unused. Removed them. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Reported-by: Matt Sickler <matt.sickler@daktronics.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/kpc2000/kpc2000/cell_probe.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/staging/kpc2000/kpc2000/cell_probe.c b/drivers/staging/kpc2000/kpc2000/cell_probe.c
index 3796f034312a..0181b0a8ff82 100644
--- a/drivers/staging/kpc2000/kpc2000/cell_probe.c
+++ b/drivers/staging/kpc2000/kpc2000/cell_probe.c
@@ -172,20 +172,6 @@ static ssize_t type_show(struct device *dev, struct device_attribute *attr,
}
static DEVICE_ATTR_RO(type);
-static ssize_t s2c_dma_ch_show(struct device *dev,
- struct device_attribute *attr, char *buf)
-{
- return 0;
-}
-static DEVICE_ATTR_RO(s2c_dma_ch);
-
-static ssize_t c2s_dma_ch_show(struct device *dev,
- struct device_attribute *attr, char *buf)
-{
- return 0;
-}
-static DEVICE_ATTR_RO(c2s_dma_ch);
-
static ssize_t s2c_dma_show(struct device *dev, struct device_attribute *attr,
char *buf)
{
@@ -241,8 +227,6 @@ struct attribute *kpc_uio_class_attrs[] = {
&dev_attr_offset.attr,
&dev_attr_size.attr,
&dev_attr_type.attr,
- &dev_attr_s2c_dma_ch.attr,
- &dev_attr_c2s_dma_ch.attr,
&dev_attr_s2c_dma.attr,
&dev_attr_c2s_dma.attr,
&dev_attr_irq_count.attr,