]> git.karo-electronics.de Git - linux-beck.git/commit
staging: et131x: Simplify code in nic_rx_pkts() for multicast_pkts_rcvd
authorMark Einon <mark.einon@gmail.com>
Thu, 11 Sep 2014 21:59:45 +0000 (22:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:02:12 +0000 (16:02 -0700)
commit8019f2e2aa76658890dcca0cdff56a78959e3c57
treeef99ba4e8a5d409d78e4055172da3b5c33bd9bc4
parent668caa674c045bb59dcde2dc017e254f18a90607
staging: et131x: Simplify code in nic_rx_pkts() for multicast_pkts_rcvd

In nic_rx_pkts(), we check that a multicast packet received (when using
a multicast list) is one that was requested - despite setting the list
up with the hardware. We shouldn't expect to get a mc packet we didn't
ask for, so remove these extra checks.

This also means that the surrounding code can be tiedied up a little.

Tested somewhat with omping, with no adverse effects seen.

Also remove this item from the TODO list.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/README
drivers/staging/et131x/et131x.c