Skip to content

Commit 0f8dced

Browse files
kurt-vdmarckleinebudde
authored andcommitted
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 <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent ec2e11e commit 0f8dced

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/can/softing/softing_main.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,6 @@ DEV_ATTR_RO(firmware_version, id.fw_version);
713713
DEV_ATTR_RO_STR(hardware, pdat->name);
714714
DEV_ATTR_RO(hardware_version, id.hw_version);
715715
DEV_ATTR_RO(license, id.license);
716-
DEV_ATTR_RO(frequency, id.freq);
717-
DEV_ATTR_RO(txpending, tx.pending);
718716

719717
static struct attribute *softing_pdev_attrs[] = {
720718
&dev_attr_serial.attr,
@@ -723,8 +721,6 @@ static struct attribute *softing_pdev_attrs[] = {
723721
&dev_attr_hardware.attr,
724722
&dev_attr_hardware_version.attr,
725723
&dev_attr_license.attr,
726-
&dev_attr_frequency.attr,
727-
&dev_attr_txpending.attr,
728724
NULL,
729725
};
730726

0 commit comments

Comments
 (0)