From b49dc890a612fd1c438681d8e5324a67021c0228 Mon Sep 17 00:00:00 2001 From: Alessandro Rubini Date: Fri, 22 Feb 2013 10:39:59 +0100 Subject: [PATCH] --- yaml --- r: 373216 b: refs/heads/master c: 895ce2d891a094aeb7e9e3f3ec6a0e4c8bf038aa h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/mfd/sta2x11-mfd.c | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/[refs] b/[refs] index 518d47973d70..989574baa978 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1383e00f79a7bd6333083a12b43481b6bf2bdcb4 +refs/heads/master: 895ce2d891a094aeb7e9e3f3ec6a0e4c8bf038aa diff --git a/trunk/drivers/mfd/sta2x11-mfd.c b/trunk/drivers/mfd/sta2x11-mfd.c index 9bd33169a111..d70a343078fd 100644 --- a/trunk/drivers/mfd/sta2x11-mfd.c +++ b/trunk/drivers/mfd/sta2x11-mfd.c @@ -98,17 +98,6 @@ static int sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags) return 0; } -static int mfd_remove(struct pci_dev *pdev) -{ - struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev); - - if (!mfd) - return -ENODEV; - list_del(&mfd->list); - kfree(mfd); - return 0; -} - /* This function is exported and is not expected to fail */ u32 __sta2x11_mfd_mask(struct pci_dev *pdev, u32 reg, u32 mask, u32 val, enum sta2x11_mfd_plat_dev index)