On Fri, 2011-05-27 at 12:07 -0700, Andy Grover wrote: > pdv unused. > > Signed-off-by: Andy Grover <agrover@xxxxxxxxxx> > --- Looks good. Committed as 17c6ba4887e Thanks, --nab > drivers/target/target_core_pscsi.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/target/target_core_pscsi.c b/drivers/target/target_core_pscsi.c > index 5df329c..3574c52 100644 > --- a/drivers/target/target_core_pscsi.c > +++ b/drivers/target/target_core_pscsi.c > @@ -1051,7 +1051,7 @@ static void pscsi_bi_endio(struct bio *bio, int error) > bio_put(bio); > } > > -static inline struct bio *pscsi_get_bio(struct pscsi_dev_virt *pdv, int sg_num) > +static inline struct bio *pscsi_get_bio(int sg_num) > { > struct bio *bio; > /* > @@ -1124,7 +1124,7 @@ static int __pscsi_map_task_SG( > /* > * Calls bio_kmalloc() and sets bio->bi_end_io() > */ > - bio = pscsi_get_bio(pdv, nr_vecs); > + bio = pscsi_get_bio(nr_vecs); > if (!(bio)) > goto fail; > > -- > 1.7.1 > -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html