All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rolf Eike Beer <eike-kernel@sf-tec.de>
To: Krishna C Gudipati <kgudipat@brocade.com>, linux-scsi@vger.kernel.org
Subject: [PATCH 1/2] bfa: remove unused pci_slot from struct bfa_pcidev_s
Date: Wed, 31 Oct 2012 20:27:46 +0100	[thread overview]
Message-ID: <3374605.SkInhuzxbT@eto> (raw)

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
---
 drivers/scsi/bfa/bfa_ioc.h | 1 -
 drivers/scsi/bfa/bfad.c    | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/scsi/bfa/bfa_ioc.h b/drivers/scsi/bfa/bfa_ioc.h
index b2856f9..80a2c15 100644
--- a/drivers/scsi/bfa/bfa_ioc.h
+++ b/drivers/scsi/bfa/bfa_ioc.h
@@ -150,7 +150,6 @@ struct bfa_meminfo_s {
  * PCI device information required by IOC
  */
 struct bfa_pcidev_s {
-	int		pci_slot;
 	u8		pci_func;
 	u16		device_id;
 	u16		ssid;
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c
index c374949..2543fc3 100644
--- a/drivers/scsi/bfa/bfad.c
+++ b/drivers/scsi/bfa/bfad.c
@@ -750,7 +750,6 @@ bfad_pci_init(struct pci_dev *pdev, struct bfad_s *bfad)
 		goto out_release_region;
 	}
 
-	bfad->hal_pcidev.pci_slot = PCI_SLOT(pdev->devfn);
 	bfad->hal_pcidev.pci_func = PCI_FUNC(pdev->devfn);
 	bfad->hal_pcidev.pci_bar_kva = bfad->pci_bar0_kva;
 	bfad->hal_pcidev.device_id = pdev->device;
-- 
1.7.7


             reply	other threads:[~2012-10-31 19:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31 19:27 Rolf Eike Beer [this message]
2012-10-31 19:29 ` [PATCH 2/2] bfa: remove unused bfa_get_pciids() and struct bfa_pciid_s Rolf Eike Beer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3374605.SkInhuzxbT@eto \
    --to=eike-kernel@sf-tec.de \
    --cc=kgudipat@brocade.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.