ieee802154: 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> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
					parent
					
						
							
								2b8837aeaa
							
						
					
				
			
			
				commit
				
					
						ec633eb5ff
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -613,7 +613,7 @@ static struct notifier_block lowpan_dev_notifier = { | |||
| }; | ||||
| 
 | ||||
| static struct packet_type lowpan_packet_type = { | ||||
| 	.type = __constant_htons(ETH_P_IEEE802154), | ||||
| 	.type = htons(ETH_P_IEEE802154), | ||||
| 	.func = lowpan_rcv, | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -326,7 +326,7 @@ drop: | |||
| 
 | ||||
| 
 | ||||
| static struct packet_type ieee802154_packet_type = { | ||||
| 	.type = __constant_htons(ETH_P_IEEE802154), | ||||
| 	.type = htons(ETH_P_IEEE802154), | ||||
| 	.func = ieee802154_rcv, | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Joe Perches
				Joe Perches