aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/msi.h
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2014-09-23 13:27:22 +0800
committerBjorn Helgaas <bhelgaas@google.com>2014-10-01 12:21:23 -0600
commit81052769e48609525c452d8f078a5786b673e178 (patch)
treed54ca80912c035218f20c501509ed9ed459a0be5 /include/linux/msi.h
parentPCI/MSI: Rename pci_msi_check_device() to pci_msi_supported() (diff)
downloadlinux-dev-81052769e48609525c452d8f078a5786b673e178.tar.xz
linux-dev-81052769e48609525c452d8f078a5786b673e178.zip
PCI/MSI: Remove unused kobject from struct msi_desc
After commit 1c51b50c2995 ("PCI/MSI: Export MSI mode using attributes, not kobjects"), the kobject in struct msi_desc is unused. Remove the unused struct kobject from struct msi_desc. [bhelgaas: changelog] Fixes: 1c51b50c2995 ("PCI/MSI: Export MSI mode using attributes, not kobjects") Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r--include/linux/msi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h
index dbf7cc932444..5a91c2d58ffd 100644
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -47,8 +47,6 @@ struct msi_desc {
/* Last set MSI message */
struct msi_msg msg;
-
- struct kobject kobj;
};
/*