diff options
author | Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> | 2014-04-02 15:17:48 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-04-24 18:09:03 -0400 |
commit | 0f8dced5ef49159698a98f744e809a3fff32b827 (patch) | |
tree | 07ae60a4ba40497af4af715b485df88b653f660d /drivers/net/can/softing | |
parent | ec2e11ed3faf9cf87f57031f1ed236888e2e4c64 (diff) |
can: softing: remove unused sysfs attributes
'frequency' indicates the embedded cpu's frequency, but that
should not be necessary for any purpose.
'txpending' is an attribute for debugging.
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/softing')
-rw-r--r-- | drivers/net/can/softing/softing_main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c index 532330bfb30f..bacd236ce306 100644 --- a/drivers/net/can/softing/softing_main.c +++ b/drivers/net/can/softing/softing_main.c | |||
@@ -713,8 +713,6 @@ DEV_ATTR_RO(firmware_version, id.fw_version); | |||
713 | DEV_ATTR_RO_STR(hardware, pdat->name); | 713 | DEV_ATTR_RO_STR(hardware, pdat->name); |
714 | DEV_ATTR_RO(hardware_version, id.hw_version); | 714 | DEV_ATTR_RO(hardware_version, id.hw_version); |
715 | DEV_ATTR_RO(license, id.license); | 715 | DEV_ATTR_RO(license, id.license); |
716 | DEV_ATTR_RO(frequency, id.freq); | ||
717 | DEV_ATTR_RO(txpending, tx.pending); | ||
718 | 716 | ||
719 | static struct attribute *softing_pdev_attrs[] = { | 717 | static struct attribute *softing_pdev_attrs[] = { |
720 | &dev_attr_serial.attr, | 718 | &dev_attr_serial.attr, |
@@ -723,8 +721,6 @@ static struct attribute *softing_pdev_attrs[] = { | |||
723 | &dev_attr_hardware.attr, | 721 | &dev_attr_hardware.attr, |
724 | &dev_attr_hardware_version.attr, | 722 | &dev_attr_hardware_version.attr, |
725 | &dev_attr_license.attr, | 723 | &dev_attr_license.attr, |
726 | &dev_attr_frequency.attr, | ||
727 | &dev_attr_txpending.attr, | ||
728 | NULL, | 724 | NULL, |
729 | }; | 725 | }; |
730 | 726 | ||