mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Unused variables.
This commit is contained in:
parent
257ef2ba58
commit
961c946a6d
@ -435,7 +435,6 @@ static int _check_dev(struct dev_mgr *dm, struct stat *stat_b)
|
|||||||
{
|
{
|
||||||
int ret = 1;
|
int ret = 1;
|
||||||
int seek_major = MAJOR(stat_b->st_rdev);
|
int seek_major = MAJOR(stat_b->st_rdev);
|
||||||
struct dev_n *node;
|
|
||||||
|
|
||||||
if (stat_b == NULL)
|
if (stat_b == NULL)
|
||||||
ret = -LOCAL_EPARAM;
|
ret = -LOCAL_EPARAM;
|
||||||
@ -459,7 +458,6 @@ static int _scan_proc_dev(struct dev_mgr *dm)
|
|||||||
int i, j = 0;
|
int i, j = 0;
|
||||||
int line_maj = 0;
|
int line_maj = 0;
|
||||||
int blocksection = 0;
|
int blocksection = 0;
|
||||||
struct dev_n * dev_node= NULL;
|
|
||||||
int dev_len = 0;
|
int dev_len = 0;
|
||||||
|
|
||||||
if ((procdevices = fopen("/proc/devices", "r")) != NULL) {
|
if ((procdevices = fopen("/proc/devices", "r")) != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user