]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: edd: remove empty default_attrs array
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jan 2022 18:26:34 +0000 (19:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jan 2022 13:28:42 +0000 (14:28 +0100)
commitc6b88a83d036f803227da98eec6e0dd4ba70394e
tree7b8268e8210cb819176e29a71919992ce29a421b
parent4d834f52d11752a90f3988d7f0c9107aaeb5d15f
firmware: edd: remove empty default_attrs array

The default_attrs array of attributes for the edd sysfs entries is
totally empty for some reason, and a list of attributes is added later
after the object is created (which should be fixed up later as it's
racy).  Because this pointer is never used, and is empty, and we are
trying to remove all default_attrs usages, just delete it.

Link: https://lore.kernel.org/r/20220105182634.2802684-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/edd.c