Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <monamagarwal123@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>

authored by

Monam Agarwal and committed by
Peter P Waskiewicz Jr
02692986 9eac685d

-11
-11
drivers/staging/slicoss/slicoss.c
··· 156 156 _adapter->handle_lock.flags); \ 157 157 } 158 158 159 - #define SLIC_FREE_SLIC_HANDLE(_adapter, _pslic_handle) \ 160 - { \ 161 - _pslic_handle->type = SLIC_HANDLE_FREE; \ 162 - spin_lock_irqsave(&_adapter->handle_lock.lock, \ 163 - _adapter->handle_lock.flags); \ 164 - _pslic_handle->next = _adapter->pfree_slic_handles; \ 165 - _adapter->pfree_slic_handles = _pslic_handle; \ 166 - spin_unlock_irqrestore(&_adapter->handle_lock.lock, \ 167 - _adapter->handle_lock.flags); \ 168 - } 169 - 170 159 static inline void slic_reg32_write(void __iomem *reg, u32 value, bool flush) 171 160 { 172 161 writel(value, reg);