e100: Convert uses of __constant_<foo> to <foo>
authorJoe Perches <joe@perches.com>
Thu, 13 Mar 2014 05:19:09 +0000 (05:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Mar 2014 04:46:36 +0000 (21:46 -0700)
The use of __constant_<foo> has been unnecessary for quite awhile now.

Make these uses consistent with the rest of the kernel.

Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e100.c

index bf7a01e..b56461c 100644 (file)
@@ -1778,9 +1778,9 @@ static int e100_xmit_prepare(struct nic *nic, struct cb *cb,
         * testing, ie sending frames with bad CRC.
         */
        if (unlikely(skb->no_fcs))
-               cb->command |= __constant_cpu_to_le16(cb_tx_nc);
+               cb->command |= cpu_to_le16(cb_tx_nc);
        else
-               cb->command &= ~__constant_cpu_to_le16(cb_tx_nc);
+               cb->command &= ~cpu_to_le16(cb_tx_nc);
 
        /* interrupt every 16 packets regardless of delay */
        if ((nic->cbs_avail & ~15) == nic->cbs_avail)