net: bcmgenet: do not set packet length for RX buffers
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 26 Jun 2014 17:26:22 +0000 (10:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jul 2014 00:25:03 +0000 (17:25 -0700)
commitb758858c5ceb1b30ae7d04dea6c74821bd7c7d69
tree8e8f166f5f57fc9e815269a2e6c50fc9213af823
parent219575eb6311ad090e26c675a6e217f5d48780a3
net: bcmgenet: do not set packet length for RX buffers

Hardware will provide this information as soon as we will start
processing incoming packets, so there is no need to set the RX buffer
length during buffer allocation.

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