aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sbus')
-rw-r--r--drivers/sbus/char/envctrl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c
index e103b12f9efe..1247f81a3278 100644
--- a/drivers/sbus/char/envctrl.c
+++ b/drivers/sbus/char/envctrl.c
@@ -1039,7 +1039,6 @@ static int kenvctrld(void *__unused)
1039 1039
1040static int __init envctrl_init(void) 1040static int __init envctrl_init(void)
1041{ 1041{
1042#ifdef CONFIG_PCI
1043 struct linux_ebus *ebus = NULL; 1042 struct linux_ebus *ebus = NULL;
1044 struct linux_ebus_device *edev = NULL; 1043 struct linux_ebus_device *edev = NULL;
1045 struct linux_ebus_child *edev_child = NULL; 1044 struct linux_ebus_child *edev_child = NULL;
@@ -1133,9 +1132,6 @@ out_iounmap:
1133 kfree(i2c_childlist[i].tables); 1132 kfree(i2c_childlist[i].tables);
1134 } 1133 }
1135 return err; 1134 return err;
1136#else
1137 return -ENODEV;
1138#endif
1139} 1135}
1140 1136
1141static void __exit envctrl_cleanup(void) 1137static void __exit envctrl_cleanup(void)