Commit 9e0c8a5b authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller

sfc: Remove pointless abstraction of memory BAR number (2)

Finish the job by removing the structure member.
Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dc63d377
...@@ -848,7 +848,6 @@ static inline const char *efx_dev_name(struct efx_nic *efx) ...@@ -848,7 +848,6 @@ static inline const char *efx_dev_name(struct efx_nic *efx)
/** /**
* struct efx_nic_type - Efx device type definition * struct efx_nic_type - Efx device type definition
* @mem_bar: Memory BAR number
* @mem_map_size: Memory BAR mapped size * @mem_map_size: Memory BAR mapped size
* @txd_ptr_tbl_base: TX descriptor ring base address * @txd_ptr_tbl_base: TX descriptor ring base address
* @rxd_ptr_tbl_base: RX descriptor ring base address * @rxd_ptr_tbl_base: RX descriptor ring base address
...@@ -863,7 +862,6 @@ static inline const char *efx_dev_name(struct efx_nic *efx) ...@@ -863,7 +862,6 @@ static inline const char *efx_dev_name(struct efx_nic *efx)
* descriptors * descriptors
*/ */
struct efx_nic_type { struct efx_nic_type {
unsigned int mem_bar;
unsigned int mem_map_size; unsigned int mem_map_size;
unsigned int txd_ptr_tbl_base; unsigned int txd_ptr_tbl_base;
unsigned int rxd_ptr_tbl_base; unsigned int rxd_ptr_tbl_base;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment