From: Roberta Dobrescu Date: Fri, 26 Sep 2014 20:58:40 +0000 (+0300) Subject: staging: dgnc: dgnc_driver.h: Remove non-standard spinlock's macros X-Git-Tag: firefly_0821_release~176^2~3121^2~156 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b4e28a6142b5f5e691c4570d8808ebefec0ae6ef;p=firefly-linux-kernel-4.4.55.git staging: dgnc: dgnc_driver.h: Remove non-standard spinlock's macros This patch removes non-standard spinlock's macros as they are no longer used by this driver. Signed-off-by: Roberta Dobrescu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index d2a45ecca4a5..c6d0746b32d7 100644 --- a/drivers/staging/dgnc/dgnc_driver.h +++ b/drivers/staging/dgnc/dgnc_driver.h @@ -137,14 +137,6 @@ #define SNIFF_MAX 65536 /* Sniff buffer size (2^n) */ #define SNIFF_MASK (SNIFF_MAX - 1) /* Sniff wrap mask */ -/* - * Lock function/defines. - * Makes spotting lock/unlock locations easier. - */ -# define DGNC_SPINLOCK_INIT(x) spin_lock_init(&(x)) -# define DGNC_LOCK(x, y) spin_lock_irqsave(&(x), y) -# define DGNC_UNLOCK(x, y) spin_unlock_irqrestore(&(x), y) - /* * All the possible states the driver can be while being loaded. */