public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] [SCSI] ufs: Remove unused member sense_bufflen
@ 2012-04-21  9:09 Santosh Y
  2012-04-21  9:09 ` [PATCH 2/3] [SCSI] ufs: Limit sense data size to 18 bytes Santosh Y
  2012-04-21  9:09 ` [PATCH 3/3] [SCSI] ufs: Process SCSI command for UFS device Santosh Y
  0 siblings, 2 replies; 5+ messages in thread
From: Santosh Y @ 2012-04-21  9:09 UTC (permalink / raw)
  To: james.bottomley; +Cc: linux-scsi, vinholikatti, Santosh Y

Remove unused member sense_bufflen from struct ufshcd_lrb.

Signed-off-by: Santosh Y <santoshsy@gmail.com>
---
 drivers/scsi/ufs/ufshcd.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 52b96e8..3e4e102 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -194,7 +194,6 @@ struct ufs_hba {
  * @ucd_prdt_ptr: PRDT address of the command
  * @cmd: pointer to SCSI command
  * @sense_buffer: pointer to sense buffer address of the SCSI command
- * @sense_bufflen: Length of the sense buffer
  * @scsi_status: SCSI status of the command
  * @command_type: SCSI, UFS, Query.
  * @task_tag: Task tag of the command
@@ -208,7 +207,6 @@ struct ufshcd_lrb {
 
 	struct scsi_cmnd *cmd;
 	u8 *sense_buffer;
-	unsigned int sense_bufflen;
 	int scsi_status;
 
 	int command_type;
@@ -684,7 +682,6 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd)
 	lrbp = &hba->lrb[tag];
 
 	lrbp->cmd = cmd;
-	lrbp->sense_bufflen = SCSI_SENSE_BUFFERSIZE;
 	lrbp->sense_buffer = cmd->sense_buffer;
 	lrbp->task_tag = tag;
 	lrbp->lun = cmd->device->lun;
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-23  5:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-21  9:09 [PATCH 1/3] [SCSI] ufs: Remove unused member sense_bufflen Santosh Y
2012-04-21  9:09 ` [PATCH 2/3] [SCSI] ufs: Limit sense data size to 18 bytes Santosh Y
2012-04-21  9:09 ` [PATCH 3/3] [SCSI] ufs: Process SCSI command for UFS device Santosh Y
2012-04-21 10:59   ` James Bottomley
2012-04-23  5:14     ` Santosh Y

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox