pkt_sched: make qdisc_class_hash_alloc() static
This patch makes the needlessly global qdisc_class_hash_alloc() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									8086cd451f
								
							
						
					
					
						commit
						a94f779f9d
					
				| @ -447,7 +447,7 @@ void qdisc_watchdog_cancel(struct qdisc_watchdog *wd) | ||||
| } | ||||
| EXPORT_SYMBOL(qdisc_watchdog_cancel); | ||||
| 
 | ||||
| struct hlist_head *qdisc_class_hash_alloc(unsigned int n) | ||||
| static struct hlist_head *qdisc_class_hash_alloc(unsigned int n) | ||||
| { | ||||
| 	unsigned int size = n * sizeof(struct hlist_head), i; | ||||
| 	struct hlist_head *h; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user