public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi/mvsas: Remove an unused variable
@ 2012-04-30 10:52 joseph daniel
  0 siblings, 0 replies; 3+ messages in thread
From: joseph daniel @ 2012-04-30 10:52 UTC (permalink / raw)
  To: James E.J. Bottomley, Xiangliang Yu, Dan Williams, joseph daniel,
	James Bottomley, linux-scsi, linux-kernel

the pointer of type struct domain_device is not used anywhere in the code.

Signed-off-by: joseph daniel <josephdanielwalter@gmail.com>
---
 drivers/scsi/mvsas/mv_sas.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c
index fd3b283..3006ec9 100644
--- a/drivers/scsi/mvsas/mv_sas.c
+++ b/drivers/scsi/mvsas/mv_sas.c
@@ -885,7 +885,6 @@ static int mvs_task_exec(struct sas_task *task, const int num, gfp_t gfp_flags,
 				struct completion *completion, int is_tmf,
 				struct mvs_tmf_task *tmf)
 {
-	struct domain_device *dev = task->dev;
 	struct mvs_info *mvi = NULL;
 	u32 rc = 0;
 	u32 pass = 0;
-- 
1.7.9.5


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

* [PATCH] scsi/mvsas: Remove an unused variable
@ 2012-04-30 19:24 joseph daniel
  2012-04-30 19:31 ` Dan Carpenter
  0 siblings, 1 reply; 3+ messages in thread
From: joseph daniel @ 2012-04-30 19:24 UTC (permalink / raw)
  To: Jonathan Cameron, Greg Kroah-Hartman, Wolfram Sang,
	Paul Gortmaker, Lars-Peter Clausen, linux-iio, devel,
	linux-kernel
  Cc: joseph daniel

the pointer of type struct domain_device is not used anywhere in the code.

Signed-off-by: joseph daniel <josephdanielwalter@gmail.com>
---
 drivers/scsi/mvsas/mv_sas.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c
index fd3b283..3006ec9 100644
--- a/drivers/scsi/mvsas/mv_sas.c
+++ b/drivers/scsi/mvsas/mv_sas.c
@@ -885,7 +885,6 @@ static int mvs_task_exec(struct sas_task *task, const int num, gfp_t gfp_flags,
 				struct completion *completion, int is_tmf,
 				struct mvs_tmf_task *tmf)
 {
-	struct domain_device *dev = task->dev;
 	struct mvs_info *mvi = NULL;
 	u32 rc = 0;
 	u32 pass = 0;
-- 
1.7.9.5


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

* Re: [PATCH] scsi/mvsas: Remove an unused variable
  2012-04-30 19:24 [PATCH] scsi/mvsas: Remove an unused variable joseph daniel
@ 2012-04-30 19:31 ` Dan Carpenter
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Carpenter @ 2012-04-30 19:31 UTC (permalink / raw)
  To: joseph daniel
  Cc: Jonathan Cameron, Greg Kroah-Hartman, Wolfram Sang,
	Paul Gortmaker, Lars-Peter Clausen, linux-iio, devel,
	linux-kernel

On Tue, May 01, 2012 at 01:24:05AM +0600, joseph daniel wrote:
> the pointer of type struct domain_device is not used anywhere in the code.
> 

This is already fixed in linux-next.

regards,
dan carpenter


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

end of thread, other threads:[~2012-04-30 19:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 19:24 [PATCH] scsi/mvsas: Remove an unused variable joseph daniel
2012-04-30 19:31 ` Dan Carpenter
  -- strict thread matches above, loose matches on Subject: below --
2012-04-30 10:52 joseph daniel

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