Commit b14aa6dc authored by Mike Miller's avatar Mike Miller Committed by Jens Axboe

cciss: fix call to put_controller_in_performant_mode

call to put_controller_in_performant_mode was in the wrong place
The call inadvertently ended up in an error path.
Signed-off-by: default avatarMike Miller <>
Cc: Stephen M. Cameron <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarJens Axboe <>
parent 256aea3f
......@@ -4150,6 +4150,7 @@ static int __devinit cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
printk(KERN_WARNING "Trying to put board into Performant mode\n");
#endif /* CCISS_DEBUG */
return 0;
......@@ -4158,7 +4159,6 @@ static int __devinit cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
* Smart Array controllers that pci_enable_device does not undo
return err;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment