浏览代码

staging: dgap: Remove unused DGAP_TRYLOCK macro

This patch removes  the unused DGAP_TRYLOCK macro

Signed-off-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Mark Hounschell 11 年之前
父节点
当前提交
339db3a32b
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/staging/dgap/dgap.h

+ 0 - 1
drivers/staging/dgap/dgap.h

@@ -201,7 +201,6 @@ typedef unsigned char		uchar;
 # define DGAP_SPINLOCK_INIT(x)		spin_lock_init(&(x))
 # define DGAP_LOCK(x,y)			spin_lock_irqsave(&(x), y)
 # define DGAP_UNLOCK(x,y)		spin_unlock_irqrestore(&(x), y)
-# define DGAP_TRYLOCK(x,y)		spin_trylock(&(x))
 
 /************************************************************************
  *      FEP memory offsets