From: Jens Axboe Date: Thu, 18 May 2017 18:53:38 +0000 (-0600) Subject: Remove leftover warnings X-Git-Tag: fio-2.20~2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=dd3805d49995e59fdf61e2560c3fec5b7f5c71b6;hp=7b5c648f6a5c05716e2f345c9d640965abda8761 Remove leftover warnings 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 --- diff --git a/os/os-linux.h b/os/os-linux.h index 695e9dad..ba53590d 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -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