[PATCH] remove historical SYSFS_attr="value" format

This is long ago replaced by the unified key attribute
format SYSFS{attr}="value".
This commit is contained in:
kay.sievers@vrfy.org 2004-11-13 12:50:44 +01:00 committed by Greg KH
parent d402af7d71
commit d4a32aa2e4

View file

@ -113,7 +113,7 @@ void dump_perm_dev_list(void)
dump_perm_dev(dev);
}
/* extract possible KEY{attr} or KEY_attr */
/* extract possible KEY{attr} */
static char *get_key_attribute(char *str)
{
char *pos;
@ -132,13 +132,6 @@ static char *get_key_attribute(char *str)
return attr;
}
attr = strchr(str, '_');
if (attr != NULL) {
attr++;
dbg("attribute='%s'", attr);
return attr;
}
return NULL;
}