From 02692986431be8754bc5b2067384dda196deed46 Mon Sep 17 00:00:00 2001 From: Monam Agarwal Date: Sun, 9 Mar 2014 18:19:11 +0530 Subject: [PATCH] Staging: slicoss: Removal of unused macros in slicoss.c This patch removes unused macro in slicoss.c as mentioned in TODO tasks. Signed-off-by: Monam Agarwal Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- drivers/staging/slicoss/slicoss.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 758c4efea0de..12aafe37720c 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -156,17 +156,6 @@ MODULE_DEVICE_TABLE(pci, slic_pci_tbl); _adapter->handle_lock.flags); \ } -#define SLIC_FREE_SLIC_HANDLE(_adapter, _pslic_handle) \ -{ \ - _pslic_handle->type = SLIC_HANDLE_FREE; \ - spin_lock_irqsave(&_adapter->handle_lock.lock, \ - _adapter->handle_lock.flags); \ - _pslic_handle->next = _adapter->pfree_slic_handles; \ - _adapter->pfree_slic_handles = _pslic_handle; \ - spin_unlock_irqrestore(&_adapter->handle_lock.lock, \ - _adapter->handle_lock.flags); \ -} - static inline void slic_reg32_write(void __iomem *reg, u32 value, bool flush) { writel(value, reg); -- 2.34.1