Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d2372eb authored by Joe Perches's avatar Joe Perches Committed by Jeff Kirsher
Browse files

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: default avatarJoe Perches <joe@perches.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent dc1edc67
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)