lfsr: don't pass in last value to lfsr_next()
[fio.git] / lib / lfsr.c
index 9fff50d77fe83d5a32afacbf67876e09ca5705fe..0c0072ccb39b15e970eeb6bd92342b67a85cd8bb 100644 (file)
@@ -124,7 +124,7 @@ static inline void __lfsr_next(struct fio_lfsr *fl, unsigned int spin)
  * c. Check if the calculated value exceeds the desirable range. In this case,
  *    go back to b, else return.
  */
-int lfsr_next(struct fio_lfsr *fl, uint64_t *off, uint64_t last)
+int lfsr_next(struct fio_lfsr *fl, uint64_t *off)
 {
        if (fl->num_vals++ > fl->max_val)
                return 1;