浏览代码

remove rt_list_isempty function.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2006 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 13 年之前
父节点
当前提交
e19102edd5
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      components/finsh/cmd.c

+ 0 - 7
components/finsh/cmd.c

@@ -30,13 +30,6 @@
 #include <rtthread.h>
 #include "finsh.h"
 
-// Copy from kservice.h because we can not use it out of the kernel.
-// Ugly. Should let kservice.h available for applications?
-rt_inline int rt_list_isempty(const rt_list_t *l)
-{
-	return l->next == l;
-}
-
 rt_inline unsigned int rt_list_len(const rt_list_t *l)
 {
 	unsigned int len = 0;