Skip to content

Commit 4875ccd

Browse files
Christoph Hellwigdavem330
authored andcommitted
[SPARC]: remove ifdef CONFIG_PCI from envctrl.c
The driver already depends on CONFIG_PCI in Kconfig. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent bc24066 commit 4875ccd

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎drivers/sbus/char/envctrl.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,6 @@ static int kenvctrld(void *__unused)
10391039

10401040
static int __init envctrl_init(void)
10411041
{
1042-
#ifdef CONFIG_PCI
10431042
struct linux_ebus *ebus = NULL;
10441043
struct linux_ebus_device *edev = NULL;
10451044
struct linux_ebus_child *edev_child = NULL;
@@ -1133,9 +1132,6 @@ static int __init envctrl_init(void)
11331132
kfree(i2c_childlist[i].tables);
11341133
}
11351134
return err;
1136-
#else
1137-
return -ENODEV;
1138-
#endif
11391135
}
11401136

11411137
static void __exit envctrl_cleanup(void)

0 commit comments

Comments
 (0)