[PATCH] libata: determine the err_mask directly in atapi_packet_task()

- set qc->err_mask directly when we found the error
  - remove the code to determine err_mask from device status

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>

============
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
Albert Lee 2005-12-05 15:42:17 +08:00 committed by Jeff Garzik
commit d8fe452b3e