]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sunvnet: remove unused variable in maybe_tx_wakeup
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Mon, 13 Feb 2017 18:56:58 +0000 (10:56 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 6 Apr 2017 07:13:50 +0000 (00:13 -0700)
commitf0204b2ba0ca4f6148ec31db85d33147c26cca28
tree418d1dc6d22ea4577774e64e64ea858e07548a40
parentc32063ccdf4a8cb9d7414e53c956677cfb267e27
sunvnet: remove unused variable in maybe_tx_wakeup

The vio_dring_state *dr variable is unused in maybe_tx_wakeup().
As the comments indicate, we call maybe_tx_wakeup() whenever we
get a STOPPED LDC message on the port. If the queue is stopped,
we want to wake it up so that we will send another START message
at the next TX and trigger the consumer to drain the dring.

Orabug: 23293104

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit d4aa89cc2bbe021722c946eb11b21ebb0f13c825)
Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/net/ethernet/sun/sunvnet_common.c