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

Unused variables.

This commit is contained in:
Alasdair Kergon 2001-09-21 12:31:57 +00:00
parent 257ef2ba58
commit 961c946a6d

View File

@ -435,7 +435,6 @@ static int _check_dev(struct dev_mgr *dm, struct stat *stat_b)
{
int ret = 1;
int seek_major = MAJOR(stat_b->st_rdev);
struct dev_n *node;
if (stat_b == NULL)
ret = -LOCAL_EPARAM;
@ -459,7 +458,6 @@ static int _scan_proc_dev(struct dev_mgr *dm)
int i, j = 0;
int line_maj = 0;
int blocksection = 0;
struct dev_n * dev_node= NULL;
int dev_len = 0;
if ((procdevices = fopen("/proc/devices", "r")) != NULL) {