1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

label/lv_manip: squash some warnings

This commit is contained in:
Joe Thornber 2018-05-10 15:14:39 +01:00
parent 3c0f5bdd08
commit 39ce38eb88
2 changed files with 1 additions and 4 deletions

View File

@ -963,8 +963,6 @@ bool dev_write_bytes(struct device *dev, uint64_t start, size_t len, void *data)
bool dev_write_zeros(struct device *dev, uint64_t start, size_t len)
{
int ret;
if (test_mode())
return true;
@ -999,8 +997,6 @@ bool dev_write_zeros(struct device *dev, uint64_t start, size_t len)
bool dev_set_bytes(struct device *dev, uint64_t start, size_t len, uint8_t val)
{
int ret;
if (test_mode())
return true;

View File

@ -30,6 +30,7 @@
#include "lvm-exec.h"
#include "memlock.h"
#include "lvmlockd.h"
#include "label.h"
typedef enum {
PREFERRED,