linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3] libata: scsi error handling, encore
@ 2005-10-09 12:26 Douglas Gilbert
  0 siblings, 0 replies; only message in thread
From: Douglas Gilbert @ 2005-10-09 12:26 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide, linux-scsi, htejun, russb

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

This patch is against Jeff's libata-dev git repository,
upstream branch.

Changelog:
  - remove static inlines for ata_bad_scsiop() and
    ata_bad_cdb() which are no longer used

Signed-off-by: Douglas Gilbert <dougg@torque.net>

Doug Gilbert


[-- Attachment #2: libata_err3.diff --]
[-- Type: text/x-patch, Size: 620 bytes --]

--- linux/drivers/scsi/libata.h	2005-10-09 15:46:14.000000000 +1000
+++ linux/drivers/scsi/libata.h3	2005-10-09 18:24:06.000000000 +1000
@@ -86,14 +86,4 @@
                         unsigned int (*actor) (struct ata_scsi_args *args,
                                            u8 *rbuf, unsigned int buflen));
 
-static inline void ata_bad_scsiop(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *))
-{
-	ata_scsi_badcmd(cmd, done, 0x20, 0x00);
-}
-
-static inline void ata_bad_cdb(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *))
-{
-	ata_scsi_badcmd(cmd, done, 0x24, 0x00);
-}
-
 #endif /* __LIBATA_H__ */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-09 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-09 12:26 [PATCH 3/3] libata: scsi error handling, encore Douglas Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).