]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[arbel] Stop firmware only once on shutdown
authorMichael Brown <mcb30@ipxe.org>
Thu, 7 Apr 2011 23:51:02 +0000 (00:51 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 7 Apr 2011 23:51:02 +0000 (00:51 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/arbel.c

index 88a15e3ca12549f7b1857636f1d596cb3107087f..c121bfd91bb85ded80e7ecb810f0d0d469b1cbd6 100644 (file)
@@ -2819,7 +2819,6 @@ static void arbel_remove ( struct pci_device *pci ) {
        arbel_cmd_close_hca ( arbel );
        arbel_free_icm ( arbel );
        arbel_stop_firmware ( arbel );
-       arbel_stop_firmware ( arbel );
        free_dma ( arbel->mailbox_out, ARBEL_MBOX_SIZE );
        free_dma ( arbel->mailbox_in, ARBEL_MBOX_SIZE );
        for ( i = ( ARBEL_NUM_PORTS - 1 ) ; i >= 0 ; i-- )