summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-04-01 14:07:32 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-05 00:20:06 +0400
commit6c74608bd479bbe02ce330f83df43c3f535ed200 (patch)
tree359ccf7d0b71acf0177ffafcadb4be622e134fb9 /drivers
parentce57d9e694d98e421e329fbac5d6f5dc5e9e101e (diff)
downloadlinux-6c74608bd479bbe02ce330f83df43c3f535ed200.tar.xz
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)
void ssb_pcicore_init(struct ssb_pcicore *pc)
{
struct ssb_device *dev = pc->dev;
- struct ssb_bus *bus;
if (!dev)
return;
- bus = dev->bus;
if (!ssb_device_is_enabled(dev))
ssb_device_enable(dev, 0);