]> err.no Git - linux-2.6/blobdiff - drivers/pci/hotplug/rpaphp_slot.c
Merge branch 'v2.6.24-lockdep' of git://git.kernel.org/pub/scm/linux/kernel/git/peter...
[linux-2.6] / drivers / pci / hotplug / rpaphp_slot.c
index 30c9dc98e4ecf6a1ad0e18bc0884ea9600bc6e06..d4ee8723fcb3d6f609b2ac24570e3464648280cd 100644 (file)
@@ -184,15 +184,3 @@ sysfs_fail:
        return retval;
 }
 
-int rpaphp_set_attention_status(struct slot *slot, u8 status)
-{
-       int rc;
-
-       /* status: LED_OFF or LED_ON */
-       rc = rtas_set_indicator(DR_INDICATOR, slot->index, status);
-       if (rc < 0)
-               err("slot(name=%s location=%s index=0x%x) set attention-status(%d) failed! rc=0x%x\n",
-                   slot->name, slot->location, slot->index, status, rc);
-
-       return rc;
-}