]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: realtek: rtl8365mb: remove port_mask private data member
authorAlvin Šipraga <alsi@bang-olufsen.dk>
Wed, 15 Jun 2022 22:51:12 +0000 (00:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 17 Jun 2022 03:44:46 +0000 (20:44 -0700)
commit9115566dac4b384a51c96ef53c117a0125d311c7
tree2695bc04d3f2de8baf79560f86e2764bfb03f592
parent9ddf15e1ed67f9b46bcc05d3e0ab5d8d915d1a6c
net: dsa: realtek: rtl8365mb: remove port_mask private data member

There is no real need for this variable: the line change interrupt mask
is sufficiently masked out when getting linkup_ind and linkdown_ind in
the interrupt handler.

Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/realtek/rtl8365mb.c