diff options
author | Ivan Vecera <cera@cera.cz> | 2018-07-10 22:59:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-12 00:03:30 -0700 |
commit | d6d9704af8f42155791dc46d39d380e200c819ae (patch) | |
tree | 9ed7f19cdf201e9cf81b7113ebd62f0a5352f785 /drivers/net/ethernet/emulex/benet/be.h | |
parent | c1328a27bb8cdbe3ff1677cc263d302fb8a72075 (diff) | |
download | talos-obmc-linux-d6d9704af8f42155791dc46d39d380e200c819ae.tar.gz talos-obmc-linux-d6d9704af8f42155791dc46d39d380e200c819ae.zip |
be2net: remove desc field from be_eq_obj
The event queue description (be_eq_obj.desc) field is used only to format
string for IRQ name and it is not really needed to hold this value.
Remove it and use local variable to format string for IRQ name.
Signed-off-by: Ivan Vecera <cera@cera.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be.h')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index a4604dea4560..e71e5e592626 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -185,7 +185,6 @@ static inline void queue_tail_inc(struct be_queue_info *q) struct be_eq_obj { struct be_queue_info q; - char desc[32]; u8 idx; /* array index */ u8 msix_idx; |