Skip to contentSkip to conversation

aacraid: remove aac_insert_entry

PATCH In review Mark Haverkamp 1 participant 1 message Sep 20, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 7/7 aacraid: remove aac_insert_entry

Received from Mark Salyzyn from Adaptec.

High Priority Queues have *never* been used in the entire history of the aac based adapters. Associated with this, aac_insert_entry can be removed, SavedIrql can be removed & padding variable can be removed. With the movement of SavedIrql out & replaced with an automatic variable qflags, the locking can be refined somewhat. The sparse warnings did not catch the need for byte swapping in the 'dprintk' debugging print macros, so fixed this up when this code was moved outside of the now refined locking.

Applies to the scsi-misc-2.6 git tree.

drivers/scsi/aacraid/aacraid.h +0 -3
Index: scsi-misc-aac-2/drivers/scsi/aacraid/aacraid.h
===================================================================
@@ -306,7 +306,6 @@
  */
 
 #define		FsaNormal	1
-#define		FsaHigh		2
 
 /*
  * Define the FIB. The FIB is the where all the requested data and
@@ -550,8 +549,6 @@
                   /* This is only valid for adapter to host command queues. */ 
 	spinlock_t	 	*lock;		/* Spinlock for this queue must take this lock before accessing the lock */
 	spinlock_t		lockdata;	/* Actual lock (used only on one side of the lock) */
-	unsigned long		SavedIrql;     	/* Previous IRQL when the spin lock is taken */
-	u32			padding;	/* Padding - FIXME - can remove I believe */
 	struct list_head 	cmdq;	   	/* A queue of FIBs which need to be prcessed by the FS thread. This is */
                                 		/* only valid for command queues which receive entries from the adapter. */
 	struct list_head	pendingq;	/* A queue of outstanding fib's to the adapter. */
drivers/scsi/aacraid/commsup.c +51 -128

268 lines not on this page · raw message

Signature · 1 line
Mark Haverkamp <[email protected]>