net: eth: altera: Remove sgdmadesclen member from altera_tse_private
authorTobias Klauser <tklauser@distanz.ch>
Mon, 10 Aug 2015 10:26:32 +0000 (12:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2015 21:31:07 +0000 (14:31 -0700)
commitc3ffe0ca4a75ec1b5183e6141bed4dfcde4309fb
tree2198448532baa8510429fb8abb1a40f630add7b2
parentadc6310ca49e2c007e1a86ff11a4c215687116d4
net: eth: altera: Remove sgdmadesclen member from altera_tse_private

altera_tse_private->sgdmadesclen is always assigned assigned the same
value and never changes during runtime.  Remove the struct member and
use a new define for sizeof(struct sgdma_descrip) instead.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/altera_sgdma.c
drivers/net/ethernet/altera/altera_sgdmahw.h
drivers/net/ethernet/altera/altera_tse.h