Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1962a4a1 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Roland Dreier
Browse files

IB/srp: Use SCAN_WILD_CARD from SCSI headers



SCAN_WILD_CARD is indeed available from <scsi/scsi.h>, which is
already included.  So get rid of private hack.

Signed-off-by: default avatarMatthew Wilcox <matthew@wil.cx>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent e9cd5941
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1456,9 +1456,8 @@ static int srp_add_target(struct srp_host *host, struct srp_target_port *target)

	target->state = SRP_TARGET_LIVE;

	/* XXX: are we supposed to have a definition of SCAN_WILD_CARD ?? */
	scsi_scan_target(&target->scsi_host->shost_gendev,
			 0, target->scsi_id, ~0, 0);
			 0, target->scsi_id, SCAN_WILD_CARD, 0);

	return 0;
}