projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d071c2
)
cxgb4: Remove redundant code in t4_uld_clean_up()
author
Ganesh Goudar
<
[email protected]
>
Thu, 16 Feb 2017 06:57:15 +0000
(12:27 +0530)
committer
David S. Miller
<
[email protected]
>
Thu, 16 Feb 2017 19:32:52 +0000
(14:32 -0500)
Remove variable rxq_info and also remove redundant assignment
to it.
Signed-off-by: Ganesh Goudar <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
index 36105b6837cbc0adf5a78b47ac286840517f0145..d0868c2320da843eab0ea441b0f6848fc5acda95 100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
+++ b/
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
@@
-591,7
+591,6
@@
void t4_uld_mem_free(struct adapter *adap)
void t4_uld_clean_up(struct adapter *adap)
{
- struct sge_uld_rxq_info *rxq_info;
unsigned int i;
if (!adap->uld)
@@
-599,7
+598,6
@@
void t4_uld_clean_up(struct adapter *adap)
for (i = 0; i < CXGB4_ULD_MAX; i++) {
if (!adap->uld[i].handle)
continue;
- rxq_info = adap->sge.uld_rxq_info[i];
if (adap->flags & FULL_INIT_DONE)
quiesce_rx_uld(adap, i);
if (adap->flags & USING_MSIX)