diff options
Diffstat (limited to 'drivers/pci/hotplug/rpaphp_slot.c')
-rw-r--r-- | drivers/pci/hotplug/rpaphp_slot.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pci/hotplug/rpaphp_slot.c b/drivers/pci/hotplug/rpaphp_slot.c index 30c9dc98e4ec..d4ee8723fcb3 100644 --- a/drivers/pci/hotplug/rpaphp_slot.c +++ b/drivers/pci/hotplug/rpaphp_slot.c | |||
@@ -184,15 +184,3 @@ sysfs_fail: | |||
184 | return retval; | 184 | return retval; |
185 | } | 185 | } |
186 | 186 | ||
187 | int rpaphp_set_attention_status(struct slot *slot, u8 status) | ||
188 | { | ||
189 | int rc; | ||
190 | |||
191 | /* status: LED_OFF or LED_ON */ | ||
192 | rc = rtas_set_indicator(DR_INDICATOR, slot->index, status); | ||
193 | if (rc < 0) | ||
194 | err("slot(name=%s location=%s index=0x%x) set attention-status(%d) failed! rc=0x%x\n", | ||
195 | slot->name, slot->location, slot->index, status, rc); | ||
196 | |||
197 | return rc; | ||
198 | } | ||