diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-06-17 23:37:30 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-06-17 23:37:30 -0400 |
commit | 1962a4a1e4b3716aa836ebeb5b80c804a7f7c5ba (patch) | |
tree | f88f56331bdae7d46a16261c1c31ab8731b1ac91 | |
parent | e9cd59418f049966a690372c4919e98c88bb119b (diff) |
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: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index 9c373139ee63..28d741e7805c 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c | |||
@@ -1456,9 +1456,8 @@ static int srp_add_target(struct srp_host *host, struct srp_target_port *target) | |||
1456 | 1456 | ||
1457 | target->state = SRP_TARGET_LIVE; | 1457 | target->state = SRP_TARGET_LIVE; |
1458 | 1458 | ||
1459 | /* XXX: are we supposed to have a definition of SCAN_WILD_CARD ?? */ | ||
1460 | scsi_scan_target(&target->scsi_host->shost_gendev, | 1459 | scsi_scan_target(&target->scsi_host->shost_gendev, |
1461 | 0, target->scsi_id, ~0, 0); | 1460 | 0, target->scsi_id, SCAN_WILD_CARD, 0); |
1462 | 1461 | ||
1463 | return 0; | 1462 | return 0; |
1464 | } | 1463 | } |