}
 
 static inline unsigned bkey_mantissa(const struct bkey_packed *k,
-                                    const struct bkey_float *f,
-                                    unsigned idx)
+                                    const struct bkey_float *f)
 {
        u64 v;
 
        EBUG_ON(shift < 0 || shift >= BFLOAT_FAILED);
 
        f->exponent = shift;
-       mantissa = bkey_mantissa(m, f, j);
+       mantissa = bkey_mantissa(m, f);
 
        /*
         * If we've got garbage bits, set them to all 1s - it's legal for the
                        goto slowpath;
 
                l = f->mantissa;
-               r = bkey_mantissa(packed_search, f, n);
+               r = bkey_mantissa(packed_search, f);
 
                if (unlikely(l == r) && bkey_mantissa_bits_dropped(b, f, n))
                        goto slowpath;