diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-03-30 21:23:19 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-11 23:56:26 -0400 |
commit | f165b10f4a9aac7fee9b11a125de20a1712be128 (patch) | |
tree | b2646fbb604a74d608156b79e94238fc0d085772 /drivers | |
parent | b008b8d7092053fc1f036cfc54dc11740cc424ed (diff) |
cleanup: remove unnecessary initializer on static pointers
Suggested-by: Greg KH <greg@kroah.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index a1c66e8ea5f2..bdfca32b44a1 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -235,7 +235,7 @@ pci_find_parent_resource(const struct pci_dev *dev, struct resource *res) | |||
235 | * -EIO if device does not support PCI PM. | 235 | * -EIO if device does not support PCI PM. |
236 | * 0 if we can successfully change the power state. | 236 | * 0 if we can successfully change the power state. |
237 | */ | 237 | */ |
238 | int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t t) = NULL; | 238 | int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t t); |
239 | int | 239 | int |
240 | pci_set_power_state(struct pci_dev *dev, pci_power_t state) | 240 | pci_set_power_state(struct pci_dev *dev, pci_power_t state) |
241 | { | 241 | { |
@@ -311,7 +311,7 @@ pci_set_power_state(struct pci_dev *dev, pci_power_t state) | |||
311 | return 0; | 311 | return 0; |
312 | } | 312 | } |
313 | 313 | ||
314 | int (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state) = NULL; | 314 | int (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state); |
315 | 315 | ||
316 | /** | 316 | /** |
317 | * pci_choose_state - Choose the power state of a PCI device | 317 | * pci_choose_state - Choose the power state of a PCI device |