Skip to content

Commit

Permalink
IB/srp: Use SCAN_WILD_CARD from SCSI headers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Wilcox authored and Roland Dreier committed Jun 18, 2006
1 parent e9cd594 commit 1962a4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1962a4a

Please sign in to comment.