svn commit: r244136 - head/sys/dev/virtio/scsi
Bryan Venteicher
bryanv at FreeBSD.org
Wed Dec 12 05:01:01 UTC 2012
Author: bryanv
Date: Wed Dec 12 05:01:01 2012
New Revision: 244136
URL: http://svnweb.freebsd.org/changeset/base/244136
Log:
virtio_scsi: Remove duplicated lines
These must have been accidently copied from the if statement a few
lines later. Also remove parameter name from function prototype.
Approved by: grehan (mentor)
Modified:
head/sys/dev/virtio/scsi/virtio_scsi.c
Modified: head/sys/dev/virtio/scsi/virtio_scsi.c
==============================================================================
--- head/sys/dev/virtio/scsi/virtio_scsi.c Wed Dec 12 05:00:26 2012 (r244135)
+++ head/sys/dev/virtio/scsi/virtio_scsi.c Wed Dec 12 05:01:01 2012 (r244136)
@@ -129,7 +129,7 @@ static int vtscsi_execute_abort_task_cm
static int vtscsi_execute_reset_dev_cmd(struct vtscsi_softc *,
struct vtscsi_request *);
-static void vtscsi_get_request_lun(uint8_t lun[], target_id_t *, lun_id_t *);
+static void vtscsi_get_request_lun(uint8_t [], target_id_t *, lun_id_t *);
static void vtscsi_set_request_lun(struct ccb_hdr *, uint8_t []);
static void vtscsi_init_scsi_cmd_req(struct ccb_scsiio *,
struct virtio_scsi_cmd_req *);
@@ -1673,9 +1673,6 @@ vtscsi_announce(struct vtscsi_softc *sc,
{
struct cam_path *path;
- xpt_async(ac_code, sc->vtscsi_path, NULL);
- return;
-
/* Use the wildcard path from our softc for bus announcements. */
if (target_id == CAM_TARGET_WILDCARD && lun_id == CAM_LUN_WILDCARD) {
xpt_async(ac_code, sc->vtscsi_path, NULL);
More information about the svn-src-head
mailing list