[2.6 patch] 3w-abcd.h: TW_Device_Extension: remove an unused filed (fwd) (fwd)

From: Adrian Bunk
Date: Sat Jan 15 2005 - 21:04:07 EST


The patch forwarded below still applies and compiles against
2.6.11-rc1-mm1.

Please apply.


----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Tue, 4 Jan 2005 00:51:31 +0100
From: Adrian Bunk <bunk@xxxxxxxxx>
To: Andrew Morton <akpm@xxxxxxxx>
Cc: linuxraid@xxxxxxxx, James.Bottomley@xxxxxxxxxxxx,
linux-scsi@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch] 3w-abcd.h: TW_Device_Extension: remove an unused filed (fwd)


The trivial patch forwarded below still applies against 2.6.10-mm1.

Please apply.


----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Tue, 14 Dec 2004 05:10:02 +0100
From: Adrian Bunk <bunk@xxxxxxxxx>
To: linuxraid@xxxxxxxx
Cc: James.Bottomley@xxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx,
linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch] 3w-abcd.h: TW_Device_Extension: remove an unused filed

[ subject adapted to linux-kernel filters... ]

num_units in struct TAG_TW_Device_Extension is completely unused.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc3-mm1-full/drivers/scsi/3w-xxxx.h.old 2004-12-14 04:39:15.000000000 +0100
+++ linux-2.6.10-rc3-mm1-full/drivers/scsi/3w-xxxx.h 2004-12-14 04:39:20.000000000 +0100
@@ -397,7 +397,6 @@
unsigned long *alignment_virtual_address[TW_Q_LENGTH];
unsigned long alignment_physical_address[TW_Q_LENGTH];
int is_unit_present[TW_MAX_UNITS];
- int num_units;
unsigned long *command_packet_virtual_address[TW_Q_LENGTH];
unsigned long command_packet_physical_address[TW_Q_LENGTH];
struct pci_dev *tw_pci_dev;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/