mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 10:31:48 +00:00
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 <roberta.dobrescu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
66663dc103
commit
b4e28a6142
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user