Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kurt Van Dijck and committed by
Marc Kleine-Budde
0f8dced5 ec2e11ed

-4
-4
drivers/net/can/softing/softing_main.c
··· 713 713 DEV_ATTR_RO_STR(hardware, pdat->name); 714 714 DEV_ATTR_RO(hardware_version, id.hw_version); 715 715 DEV_ATTR_RO(license, id.license); 716 - DEV_ATTR_RO(frequency, id.freq); 717 - DEV_ATTR_RO(txpending, tx.pending); 718 716 719 717 static struct attribute *softing_pdev_attrs[] = { 720 718 &dev_attr_serial.attr, ··· 721 723 &dev_attr_hardware.attr, 722 724 &dev_attr_hardware_version.attr, 723 725 &dev_attr_license.attr, 724 - &dev_attr_frequency.attr, 725 - &dev_attr_txpending.attr, 726 726 NULL, 727 727 }; 728 728