* [PATCH 5/5] BNX2I - minor code cleanup and update driver version
@ 2009-12-07 19:40 Anil Veerabhadrappa
2009-12-10 2:46 ` Mike Christie
0 siblings, 1 reply; 2+ messages in thread
From: Anil Veerabhadrappa @ 2009-12-07 19:40 UTC (permalink / raw)
To: James.Bottomley; +Cc: linux-scsi, open-iscsi, michaelc, mchan, poswald
* Removed duplicate function call and not-so-useful comment line
Signed-off-by: Anil Veerabhadrappa <anilgv@broadcom.com>
---
drivers/scsi/bnx2i/bnx2i_init.c | 4 ++--
drivers/scsi/bnx2i/bnx2i_iscsi.c | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/bnx2i/bnx2i_init.c b/drivers/scsi/bnx2i/bnx2i_init.c
index ad551c5..1e111ac 100644
--- a/drivers/scsi/bnx2i/bnx2i_init.c
+++ b/drivers/scsi/bnx2i/bnx2i_init.c
@@ -17,8 +17,8 @@ static struct list_head adapter_list = LIST_HEAD_INIT(adapter_list);
static u32 adapter_count;
#define DRV_MODULE_NAME "bnx2i"
-#define DRV_MODULE_VERSION "2.0.1e"
-#define DRV_MODULE_RELDATE "June 22, 2009"
+#define DRV_MODULE_VERSION "2.1.0"
+#define DRV_MODULE_RELDATE "Dec 06, 2009"
static char version[] __devinitdata =
"Broadcom NetXtreme II iSCSI Driver " DRV_MODULE_NAME \
diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c
index 070118a..54dc251 100644
--- a/drivers/scsi/bnx2i/bnx2i_iscsi.c
+++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c
@@ -485,7 +485,6 @@ static int bnx2i_setup_cmd_pool(struct bnx2i_hba *hba,
struct iscsi_task *task = session->cmds[i];
struct bnx2i_cmd *cmd = task->dd_data;
- /* Anil */
task->hdr = &cmd->hdr;
task->hdr_max = sizeof(struct iscsi_hdr);
@@ -765,7 +764,6 @@ struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic)
hba->pci_svid = hba->pcidev->subsystem_vendor;
hba->pci_func = PCI_FUNC(hba->pcidev->devfn);
hba->pci_devno = PCI_SLOT(hba->pcidev->devfn);
- bnx2i_identify_device(hba);
bnx2i_identify_device(hba);
bnx2i_setup_host_queue_size(hba, shost);
--
1.6.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 5/5] BNX2I - minor code cleanup and update driver version
2009-12-07 19:40 [PATCH 5/5] BNX2I - minor code cleanup and update driver version Anil Veerabhadrappa
@ 2009-12-10 2:46 ` Mike Christie
0 siblings, 0 replies; 2+ messages in thread
From: Mike Christie @ 2009-12-10 2:46 UTC (permalink / raw)
To: open-iscsi; +Cc: James.Bottomley, linux-scsi, mchan, poswald
Anil Veerabhadrappa wrote:
> * Removed duplicate function call and not-so-useful comment line
>
> Signed-off-by: Anil Veerabhadrappa <anilgv@broadcom.com>
> ---
> drivers/scsi/bnx2i/bnx2i_init.c | 4 ++--
> drivers/scsi/bnx2i/bnx2i_iscsi.c | 2 --
> 2 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/scsi/bnx2i/bnx2i_init.c b/drivers/scsi/bnx2i/bnx2i_init.c
> index ad551c5..1e111ac 100644
> --- a/drivers/scsi/bnx2i/bnx2i_init.c
> +++ b/drivers/scsi/bnx2i/bnx2i_init.c
> @@ -17,8 +17,8 @@ static struct list_head adapter_list = LIST_HEAD_INIT(adapter_list);
> static u32 adapter_count;
>
> #define DRV_MODULE_NAME "bnx2i"
> -#define DRV_MODULE_VERSION "2.0.1e"
> -#define DRV_MODULE_RELDATE "June 22, 2009"
> +#define DRV_MODULE_VERSION "2.1.0"
> +#define DRV_MODULE_RELDATE "Dec 06, 2009"
>
> static char version[] __devinitdata =
> "Broadcom NetXtreme II iSCSI Driver " DRV_MODULE_NAME \
> diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c
> index 070118a..54dc251 100644
> --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c
> +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c
> @@ -485,7 +485,6 @@ static int bnx2i_setup_cmd_pool(struct bnx2i_hba *hba,
> struct iscsi_task *task = session->cmds[i];
> struct bnx2i_cmd *cmd = task->dd_data;
>
> - /* Anil */
> task->hdr = &cmd->hdr;
> task->hdr_max = sizeof(struct iscsi_hdr);
>
> @@ -765,7 +764,6 @@ struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic)
> hba->pci_svid = hba->pcidev->subsystem_vendor;
> hba->pci_func = PCI_FUNC(hba->pcidev->devfn);
> hba->pci_devno = PCI_SLOT(hba->pcidev->devfn);
> - bnx2i_identify_device(hba);
>
> bnx2i_identify_device(hba);
> bnx2i_setup_host_queue_size(hba, shost);
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-10 2:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-07 19:40 [PATCH 5/5] BNX2I - minor code cleanup and update driver version Anil Veerabhadrappa
2009-12-10 2:46 ` Mike Christie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox