Skip to contentSkip to conversation

scsi:removal of the variable "ordered_flush"

PATCH In review Tetsuo Takata 2 participants 2 messages Jan 25, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi:removal of the variable "ordered_flush"

Hi,

After the recent overhaul of the block layer the variable "ordered_flush" is no longer used.

Regards,

Tetsuo Takata

The patch below removes dead code.

---

include/scsi/scsi_host.h +0 -1
diff -urNp linux-2.6.16-rc1-git4/include/scsi/scsi_host.h linux-2.6.16-rc1-git4-fixed/include/scsi/scsi_host.h
@@ -554,7 +554,6 @@ struct Scsi_Host {
 	/*
 	 * ordered write support
 	 */
-	unsigned ordered_flush:1;
 	unsigned ordered_tag:1;
 
 	/*
#1 lore raw
Quoted 5 lines · Tetsuo Takata

Hi,

After the recent overhaul of the block layer the variable "ordered_flush" is no longer used.

Indeed, good spotting! Applied. In the future, please make your patches self contained wrt description.

Signature · 1 line
Jens Axboe