sfc: Rename 'use_options' variable in tso_start() to clearer 'use_opt_desc'
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 12 Feb 2014 18:59:41 +0000 (18:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2014 22:53:35 +0000 (17:53 -0500)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/tx.c

index 3aa22cdef380395930c536127a6a09dc3fcd942c..fa9475300411507e447fd51e21dfbd4c5f600aa3 100644 (file)
@@ -1002,7 +1002,7 @@ static void efx_enqueue_unwind(struct efx_tx_queue *tx_queue)
 static int tso_start(struct tso_state *st, struct efx_nic *efx,
                     const struct sk_buff *skb)
 {
-       bool use_options = efx_nic_rev(efx) >= EFX_REV_HUNT_A0;
+       bool use_opt_desc = efx_nic_rev(efx) >= EFX_REV_HUNT_A0;
        struct device *dma_dev = &efx->pci_dev->dev;
        unsigned int header_len, in_len;
        dma_addr_t dma_addr;
@@ -1028,7 +1028,7 @@ static int tso_start(struct tso_state *st, struct efx_nic *efx,
 
        st->out_len = skb->len - header_len;
 
-       if (!use_options) {
+       if (!use_opt_desc) {
                st->header_unmap_len = 0;
 
                if (likely(in_len == 0)) {