]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Get rid of unmarshalling functions
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 6 Nov 2018 20:58:40 +0000 (12:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Nov 2018 23:05:22 +0000 (15:05 -0800)
commitcb9019976f6175f8b0cc202862fa51e0e0790acd
tree75f1b15b82333a3ff247cfdd9e5957c7c68e4aa5
parentdf8ea5cebc316c56e26e8c7238764fa8542495bf
net: dsa: bcm_sf2: Get rid of unmarshalling functions

Now that we have migrated the CFP rule handling to a list with a
software copy, the delete/get operation just returns what is on the
list, no need to read from the hardware which is both slow and more
error prone.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2_cfp.c