OSDN Git Service

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)
commit1c60c7f9001140e4a3bfae4b1cdcead6b075aecf
tree75f1b15b82333a3ff247cfdd9e5957c7c68e4aa5
parent1c0130f0b5756b38b636e3cb7b3abc2b48bb9edc
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