Remove leftover warnings
authorJens Axboe <axboe@fb.com>
Thu, 18 May 2017 18:53:38 +0000 (12:53 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 18 May 2017 18:53:38 +0000 (12:53 -0600)
Previous commit that fixed up the preadv2/pwritev2 wrappers
left some debug #warning in there by accident. Kill them.

Fixes: 7b5c648f6a5c ("Fix wrap issue with 64-bit pwritev2/preadv2")
Signed-off-by: Jens Axboe <axboe@fb.com>
os/os-linux.h

index 695e9da..ba53590 100644 (file)
@@ -315,11 +315,9 @@ static inline void make_pos_h_l(unsigned long *pos_h, unsigned long *pos_l,
                                off_t offset)
 {
 #if BITS_PER_LONG == 64
-#warning 64
        *pos_l = offset;
        *pos_h = 0;
 #else
-#warning 32
        *pos_l = offset & 0xffffffff;
        *pos_h = ((uint64_t) offset) >> 32;
 #endif