aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-04-01 06:07:32 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-04 16:20:06 -0400
commit6c74608bd479bbe02ce330f83df43c3f535ed200 (patch)
tree359ccf7d0b71acf0177ffafcadb4be622e134fb9 /drivers
parentce57d9e694d98e421e329fbac5d6f5dc5e9e101e (diff)
ssb: pci: trivial: drop useless pointer
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ssb/driver_pcicore.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ssb/driver_pcicore.c b/drivers/ssb/driver_pcicore.c
index 0e8d35224614..e0cf29e57919 100644
--- a/drivers/ssb/driver_pcicore.c
+++ b/drivers/ssb/driver_pcicore.c
@@ -417,11 +417,9 @@ static void ssb_pcicore_init_clientmode(struct ssb_pcicore *pc)
417void ssb_pcicore_init(struct ssb_pcicore *pc) 417void ssb_pcicore_init(struct ssb_pcicore *pc)
418{ 418{
419 struct ssb_device *dev = pc->dev; 419 struct ssb_device *dev = pc->dev;
420 struct ssb_bus *bus;
421 420
422 if (!dev) 421 if (!dev)
423 return; 422 return;
424 bus = dev->bus;
425 if (!ssb_device_is_enabled(dev)) 423 if (!ssb_device_is_enabled(dev))
426 ssb_device_enable(dev, 0); 424 ssb_device_enable(dev, 0);
427 425