mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
ssb: pci: trivial: drop useless pointer
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
ce57d9e694
commit
6c74608bd4
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user