aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/altera/altera_tse.h
diff options
context:
space:
mode:
authorTobias Klauser2015-08-10 12:26:32 +0200
committerDavid S. Miller2015-08-12 14:31:07 -0700
commitc3ffe0ca4a75ec1b5183e6141bed4dfcde4309fb (patch)
tree2198448532baa8510429fb8abb1a40f630add7b2 /drivers/net/ethernet/altera/altera_tse.h
parentadc6310ca49e2c007e1a86ff11a4c215687116d4 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/altera/altera_tse.h')
-rw-r--r--drivers/net/ethernet/altera/altera_tse.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/altera/altera_tse.h b/drivers/net/ethernet/altera/altera_tse.h
index 2adb24d4523c..103c30ddddf7 100644
--- a/drivers/net/ethernet/altera/altera_tse.h
+++ b/drivers/net/ethernet/altera/altera_tse.h
@@ -458,7 +458,6 @@ struct altera_tse_private {
u32 rxctrlreg;
dma_addr_t rxdescphys;
dma_addr_t txdescphys;
- size_t sgdmadesclen;
struct list_head txlisthd;
struct list_head rxlisthd;