From: Paul Gortmaker Date: Sun, 18 Mar 2012 21:11:22 +0000 (-0400) Subject: gianfar: use netif_tx_queue_stopped instead of __netif_subqueue_stopped X-Git-Tag: v3.4-rc1~177^2~37^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5407b14c6792d6ff122ecb1a2a6acffad60ef389;p=pandora-kernel.git gianfar: use netif_tx_queue_stopped instead of __netif_subqueue_stopped The __netif_subqueue_stopped() just does the following: struct netdev_queue *txq = netdev_get_tx_queue(dev, queue_index); return netif_tx_queue_stopped(txq); and since we already have the txq in scope, we can just call that directly in this case. Suggested-by: Eric Dumazet Signed-off-by: Paul Gortmaker --- Reading git-diff-tree failed