diff options
author | Joe Perches <joe@perches.com> | 2014-03-13 01:19:09 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-03-20 00:46:36 -0400 |
commit | 3d2372eb146efdd9a31ac29cdfc9812fad4faa67 (patch) | |
tree | a96b1fd1ed70754d5b7a391d158c374dcdbe92e7 /drivers/net/ethernet/intel/e100.c | |
parent | dc1edc67fe2da3d87b56cdffd5ef55c3a9af252c (diff) |
e100: Convert uses of __constant_<foo> to <foo>
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>
Diffstat (limited to 'drivers/net/ethernet/intel/e100.c')
-rw-r--r-- | drivers/net/ethernet/intel/e100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index bf7a01ef9a57..b56461ce674c 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c | |||
@@ -1778,9 +1778,9 @@ static int e100_xmit_prepare(struct nic *nic, struct cb *cb, | |||
1778 | * testing, ie sending frames with bad CRC. | 1778 | * testing, ie sending frames with bad CRC. |
1779 | */ | 1779 | */ |
1780 | if (unlikely(skb->no_fcs)) | 1780 | if (unlikely(skb->no_fcs)) |
1781 | cb->command |= __constant_cpu_to_le16(cb_tx_nc); | 1781 | cb->command |= cpu_to_le16(cb_tx_nc); |
1782 | else | 1782 | else |
1783 | cb->command &= ~__constant_cpu_to_le16(cb_tx_nc); | 1783 | cb->command &= ~cpu_to_le16(cb_tx_nc); |
1784 | 1784 | ||
1785 | /* interrupt every 16 packets regardless of delay */ | 1785 | /* interrupt every 16 packets regardless of delay */ |
1786 | if ((nic->cbs_avail & ~15) == nic->cbs_avail) | 1786 | if ((nic->cbs_avail & ~15) == nic->cbs_avail) |