aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2005-11-29 23:08:29 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-13 20:11:29 -0500
commit760c9de589175f5285668d17825c259aec08370c (patch)
treec73350cda851f702b29896b721678936d31590c7
parent47be1e0ee1f484c8127f306e06ed3be91add07ee (diff)
[SCSI] sym2: Remove last vestiges of sym_sniff_inquiry
The SYM_OPT_SNIFF_INQUIRY define is never set any more, and the sym_sniff_inquiry() function doesn't exist From: Christoph Hellwig <hch@lst.de> Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_glue.h1
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_hipd.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.h b/drivers/scsi/sym53c8xx_2/sym_glue.h
index d3d52f14d7c0..c61c23fcce56 100644
--- a/drivers/scsi/sym53c8xx_2/sym_glue.h
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.h
@@ -268,6 +268,5 @@ void sym_xpt_async_bus_reset(struct sym_hcb *np);
268void sym_xpt_async_sent_bdr(struct sym_hcb *np, int target); 268void sym_xpt_async_sent_bdr(struct sym_hcb *np, int target);
269int sym_setup_data_and_start (struct sym_hcb *np, struct scsi_cmnd *csio, struct sym_ccb *cp); 269int sym_setup_data_and_start (struct sym_hcb *np, struct scsi_cmnd *csio, struct sym_ccb *cp);
270void sym_log_bus_error(struct sym_hcb *np); 270void sym_log_bus_error(struct sym_hcb *np);
271void sym_sniff_inquiry(struct sym_hcb *np, struct scsi_cmnd *cmd, int resid);
272 271
273#endif /* SYM_GLUE_H */ 272#endif /* SYM_GLUE_H */
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c
index a7420cad4547..113e3b357163 100644
--- a/drivers/scsi/sym53c8xx_2/sym_hipd.c
+++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c
@@ -5551,15 +5551,6 @@ if (resid)
5551 */ 5551 */
5552 sym_set_cam_result_ok(cp, cmd, resid); 5552 sym_set_cam_result_ok(cp, cmd, resid);
5553 5553
5554#ifdef SYM_OPT_SNIFF_INQUIRY
5555 /*
5556 * On standard INQUIRY response (EVPD and CmDt
5557 * not set), sniff out device capabilities.
5558 */
5559 if (cp->cdb_buf[0] == INQUIRY && !(cp->cdb_buf[1] & 0x3))
5560 sym_sniff_inquiry(np, cmd, resid);
5561#endif
5562
5563#ifdef SYM_OPT_HANDLE_DEVICE_QUEUEING 5554#ifdef SYM_OPT_HANDLE_DEVICE_QUEUEING
5564 /* 5555 /*
5565 * If max number of started ccbs had been reduced, 5556 * If max number of started ccbs had been reduced,