include: a new list element does not need initialization, state so
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
		
							parent
							
								
									58dc73314b
								
							
						
					
					
						commit
						18539c89ec
					
				| 
						 | 
					@ -141,7 +141,8 @@ __list_add(struct list *entry,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Insert a new element after the given list head.
 | 
					 * Insert a new element after the given list head. The new element does not
 | 
				
			||||||
 | 
					 * need to be initialised as empty list.
 | 
				
			||||||
 * The list changes from:
 | 
					 * The list changes from:
 | 
				
			||||||
 *      head → some element → ...
 | 
					 *      head → some element → ...
 | 
				
			||||||
 * to
 | 
					 * to
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue