cleanup: remove unnecessary initializer on static pointers
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 31 Mar 2005 02:23:19 +0000 (21:23 -0500)
committerLen Brown <len.brown@intel.com>
Tue, 12 Jul 2005 03:56:26 +0000 (23:56 -0400)
Suggested-by: Greg KH <greg@kroah.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pci/pci.c

index a1c66e8ea5f2ced74345db9a1c173f290326eb82..bdfca32b44a1dab16cdf8130cbeaa3bf6859a7e9 100644 (file)
@@ -235,7 +235,7 @@ pci_find_parent_resource(const struct pci_dev *dev, struct resource *res)
  * -EIO if device does not support PCI PM.
  * 0 if we can successfully change the power state.
  */
-int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t t) = NULL;
+int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t t);
 int
 pci_set_power_state(struct pci_dev *dev, pci_power_t state)
 {
@@ -311,7 +311,7 @@ pci_set_power_state(struct pci_dev *dev, pci_power_t state)
        return 0;
 }
 
-int (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state) = NULL;
+int (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state);
  
 /**
  * pci_choose_state - Choose the power state of a PCI device