Tejun Heo 9f5920567b [PATCH] ahci: simplify ahci_start_engine()
Simplify ahci_start_engine() by killing prerequisite condition checks.
Rationales are..

* No user checks error return from ahci_start_engine()

* Code flow guarantees the prerequisite conditions unless the
  controller is malfunctioning.  In such cases, the driver had chances
  to learn about the problem _before_ calling this function.

* Closely related to the above two, driver calls into this function
  even when prerequisites fail hoping for the best.

Basically, ahci_start_engine() should only do the operation itself.
It isn't the right place to check for prerequisites.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Zhao, Forrest <forrest.zhao@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-07-29 04:01:31 -04:00
..
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-01-01 22:21:50 +01:00
2006-01-14 10:55:12 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-24 22:47:14 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-13 10:13:30 -05:00
2006-05-20 09:35:20 -05:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:00:58 -07:00
2006-06-25 10:00:58 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:58:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:30:00 -05:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2006-03-23 07:38:09 -08:00
2005-04-16 15:20:36 -07:00
2006-07-09 11:27:03 -05:00
2006-06-29 11:06:30 -04:00