scsi: remove private BIT macros
A couple of scsi drivers define a BIT() macro, duplicating the one in bitops.h. Cc: Jing Huang <huangj@brocade.com> Cc: Robert Love <robert.w.love@intel.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
5c90ad905b
commit
a737b88df8
@@ -21,6 +21,7 @@
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <scsi/libfc.h>
|
||||
#include <scsi/libfcoe.h>
|
||||
#include "fnic_io.h"
|
||||
@@ -49,7 +50,6 @@
|
||||
/*
|
||||
* Tag bits used for special requests.
|
||||
*/
|
||||
#define BIT(nr) (1UL << (nr))
|
||||
#define FNIC_TAG_ABORT BIT(30) /* tag bit indicating abort */
|
||||
#define FNIC_TAG_DEV_RST BIT(29) /* indicates device reset */
|
||||
#define FNIC_TAG_MASK (BIT(24) - 1) /* mask for lookup */
|
||||
|
Reference in New Issue
Block a user