typhoon: replace users of __constant_{endian}
The base versions handle constant folding just fine, use them directly. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: David Dillow <dave@thedillows.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
da3bc07171
commit
649aa95d75
@@ -1944,7 +1944,7 @@ typhoon_start_runtime(struct typhoon *tp)
|
||||
goto error_out;
|
||||
|
||||
INIT_COMMAND_NO_RESPONSE(&xp_cmd, TYPHOON_CMD_VLAN_TYPE_WRITE);
|
||||
xp_cmd.parm1 = __constant_cpu_to_le16(ETH_P_8021Q);
|
||||
xp_cmd.parm1 = cpu_to_le16(ETH_P_8021Q);
|
||||
err = typhoon_issue_command(tp, 1, &xp_cmd, 0, NULL);
|
||||
if(err < 0)
|
||||
goto error_out;
|
||||
|
Reference in New Issue
Block a user