From: Mark Einon Date: Sun, 4 Sep 2011 10:24:37 +0000 (+0100) Subject: staging: et131x: Remove registry_rx_mem_end from struct et131x_adapter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ddf488baf638af36c49ed71171b8375582e5bd5f;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git staging: et131x: Remove registry_rx_mem_end from struct et131x_adapter registry_rx_mem_end is not referenced anywhere in the driver. Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/et131x/et131x_adapter.h b/drivers/staging/et131x/et131x_adapter.h index 5656472c9d3c..8c6d5f93c35d 100644 --- a/drivers/staging/et131x/et131x_adapter.h +++ b/drivers/staging/et131x/et131x_adapter.h @@ -136,7 +136,6 @@ struct ce_stats { u32 interrupt_status; }; - /* The private adapter structure */ struct et131x_adapter { struct net_device *netdev; @@ -179,11 +178,8 @@ struct et131x_adapter { /* Registry parameters */ u8 wanted_flow; /* Flow we want for 802.3x flow control */ - - u32 registry_rx_mem_end; /* Size of internal rx memory */ u32 registry_jumbo_packet; /* Max supported ethernet packet size */ - /* Derived from the registry: */ u8 ai_force_duplex; /* duplex setting */ u16 ai_force_speed; /* 'Speed', user over-ride of line speed */