summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/lists.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/common/lists.c b/firmware/common/lists.c
index 46380e744f..0699531e20 100644
--- a/firmware/common/lists.c
+++ b/firmware/common/lists.c
@@ -241,8 +241,6 @@ int list_empty(LIST *list) /* The list to check */
241******************************************************************************/ 241******************************************************************************/
242LIST_NODE *list_get_first(LIST *lh) /* The list to read from */ 242LIST_NODE *list_get_first(LIST *lh) /* The list to read from */
243{ 243{
244 LIST_NODE *ln;
245
246 if(list_empty(lh)) /* Return NULL if the list is empty */ 244 if(list_empty(lh)) /* Return NULL if the list is empty */
247 { 245 {
248 return NULL; 246 return NULL;
@@ -260,8 +258,6 @@ LIST_NODE *list_get_first(LIST *lh) /* The list to read from */
260******************************************************************************/ 258******************************************************************************/
261LIST_NODE *list_get_last(LIST *lh) /* The list to read from */ 259LIST_NODE *list_get_last(LIST *lh) /* The list to read from */
262{ 260{
263 LIST_NODE *ln;
264
265 if(list_empty(lh)) /* Return NULL if the list is empty */ 261 if(list_empty(lh)) /* Return NULL if the list is empty */
266 { 262 {
267 return NULL; 263 return NULL;