]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: iss/network: drop 'devices' list
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 7 Jul 2022 05:57:35 +0000 (22:57 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Jul 2022 07:54:31 +0000 (00:54 -0700)
commitc2c3abf2bec172343562d99f1af772ffe15a76c1
tree77831ea8a59824d1d33faf5828cafd8d7d7bb8f0
parent0c8b98e40f9d61a6792a879de085b19667a1f51b
xtensa: iss/network: drop 'devices' list

There are two per-device lists in the ISS network driver: command line
parameters list and iss_net_private object list. The latter is only used
for duplicate checking in the function iss_net_setup where the former
should have been used.
Drop iss_net_private object list and associated code and use command
line parameters list in the iss_net_setup instead.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/platforms/iss/network.c