Commit 6c74608b authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

ssb: pci: trivial: drop useless pointer

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ce57d9e6
...@@ -417,11 +417,9 @@ static void ssb_pcicore_init_clientmode(struct ssb_pcicore *pc) ...@@ -417,11 +417,9 @@ static void ssb_pcicore_init_clientmode(struct ssb_pcicore *pc)
void ssb_pcicore_init(struct ssb_pcicore *pc) void ssb_pcicore_init(struct ssb_pcicore *pc)
{ {
struct ssb_device *dev = pc->dev; struct ssb_device *dev = pc->dev;
struct ssb_bus *bus;
if (!dev) if (!dev)
return; return;
bus = dev->bus;
if (!ssb_device_is_enabled(dev)) if (!ssb_device_is_enabled(dev))
ssb_device_enable(dev, 0); ssb_device_enable(dev, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment