From: FUJITA Tomonori Date: Tue, 15 Jul 2008 19:21:51 +0000 (+0200) Subject: ide: remove action argument in ide_do_drive_cmd X-Git-Tag: v2.6.27-rc1~1078^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f5abb0959337db0d5bece9cefba03cdcadec51;p=pandora-kernel.git ide: remove action argument in ide_do_drive_cmd ide_do_drive_cmd is called only with ide_preempt action argument. So we can remove the action argument in ide_do_drive_cmd and ide_action_t typedef. This patch also includes two minor cleanups: 1) ide_do_drive_cmd always succeeds so we don't need the return value; 2) the callers use blk_rq_init before ide_do_drive_cmd so there is no need to initialize rq->errors. Signed-off-by: FUJITA Tomonori Cc: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed